Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Ctl-D Log out from a shell (similar to exit).
When typing text on the console or in an xterm window, Ctl-D erases the character under the cursor. When there are no characters present, Ctl-D logs out of the session, as expected. In an xterm window, this has the effect of closing the window.
Ctl-G "BEL" (beep). On some old-time teletype terminals, this would actually ring a bell.
Ctl-H "Rubout" (destructive backspace). Erases characters the cursor backs over while backspacing.
Ctl-I Horizontal tab.
Ctl-J Newline (line feed).
Ctl-K Vertical tab.
When typing text on the console or in an xterm window, Ctl-K erases from the character under the cursor to end of line.
Ctl-L Formfeed (clear the terminal screen). This has the same effect as the clear command.
Ctl-M Carriage return.
Ctl-Q Resume (XON).
This resumes stdin in a terminal.
Ctl-S Suspend (XOFF).
This freezes stdin in a terminal. (Use Ctl-Q to restore input.)
Ctl-U Erase a line of input, from the cursor backward to beginning of line. In some settings, Ctl-U erases the entire line of input, regardless of cursor position.
Ctl-V When inputting text, Ctl-V permits inserting control characters.
Ctl-W When typing text on the console or in an xterm window, Ctl-W erases from the character under the cursor backwards to the first instance of whitespace. In some settings, Ctl-W erases backwards to first non-alphanumeric character.
Ctl-Z Pause a foreground job.
The really usefull ones according to my experience, are CTR+U, when you are typing passwords. If you realize before you hit the enter, that you have made a mistake since you cannot see the number of caracters printed, CTRL+U will clear the field, instaed of pressing backspace or delete all the time.
CTRL+Z. Some stupid applications catch the ctrl+C (SIGINT), so in order to kill the application, instead of killing the window(if tou are in GUI) or opening new consoles, press CTRL+Z to get your prompt back and then type
Code:
kill %%
to kill it.
Last edited by perfect_circle; 05-31-2005 at 07:07 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.