A set of hot keys for working with the console
If you work with text in the console, perhaps edit some configuration on the server under nicks, then it may be interesting and useful for you to find out some hot keys that you probably never used.
Go back to the beginning of the current line Ctrl + A
Go back to the end of the current line Ctrl + E
Delete the word back Alt + BackSpace
Delete the word forward Alt + D
Move the cursor to the beginning of the next word Alt + F
Move the cursor to the beginning of the previous word Alt + B
Delete the character before the cursor Ctrl + D
These combinations are supported by most of the nix systems I have used.
From myself I will only say that I discovered them quite by accident, when I got quite used to emacs. And, by the way, it would be interesting to know more of this kind of combinations that are used most often.
Go back to the beginning of the current line Ctrl + A
Go back to the end of the current line Ctrl + E
Delete the word back Alt + BackSpace
Delete the word forward Alt + D
Move the cursor to the beginning of the next word Alt + F
Move the cursor to the beginning of the previous word Alt + B
Delete the character before the cursor Ctrl + D
These combinations are supported by most of the nix systems I have used.
From myself I will only say that I discovered them quite by accident, when I got quite used to emacs. And, by the way, it would be interesting to know more of this kind of combinations that are used most often.