Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




4.3. Other Key combinations

GNU/Linux shells have many shortcut keys which you can use to speed up your work, below is a rough list of some (also see CTRL-R the history section of the commands, over here, Section 4.2).

The CTRL-D the "end-of-file" (EOF) key combination can be used to quickly log out of any terminal. CTRL-D is also used in programs such as "at" to signal that you have finished typing your commands (the EOF command).

The CTRL-Z key combination is used to stop a process. It can be used to put something in the background temporarily.

For example, if you were editing a file with vim or emacs just press CTRL-Z to regain control of the terminal do what you want and then type fg to bring it back. For further information please see Section 9.3.

Tip If fg doesn't work

If fg doesn't work you may need to type jobs and then fg job_name or fg job_number

The CTRL-A and CTRL-E key combinations are used for going to the start and end of the line on the command line. Use CTRL-A to jump to the start of the line, and CTRL-E to jump to the end of the line.

The CTRL-K key combination can be used to cut or delete what is currently in front of the cursor.

The CTRL-Y key combination can be used to paste the last thing you deleted (using CTRL-K or CTRL-W ).

The CTRL-W key combination can be used to cut or delete the entire line that has being typed.

  Published under the terms of the GNU General Public License Design by Interspire