Useful bash shell shortcut keys to navigate the command line.

Posted: October 2, 2013. At: 10:47 AM. This was 4 years ago. Post ID: 6370
Page permalink.
WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters. These cookies expire two weeks after they are set.

Useful bash shell shortcut keys to navigate the command line.

^a, ^e – Move the cursor. The Ctrl-a shortcut will move the cursor to the beginning of the line. The Ctrl-e shortcut will bring the cursor to the end of the line.

^d – End of file or EOF. This tells a console application that you are done entering text.

^i – Clear the terminal buffer. This means that in a terminal, there will be no history to scroll back through. This does not seem to work in the MATE terminal though.

^z, – Suspend and resume output. This will tell a program to quit printing output to your terminal device. If you type fg, the program will return to the foreground.

^l – Clear the screen. This will clear the screen and leave a blank slate for more commands.

^c – Stop a command. This shortcut will stop a command running and return you to the prompt.

With these useful shortcuts; you can easily navigate the bash shell prompt and make even more use of your Linux terminal.

1 responses to “Useful bash shell shortcut keys to navigate the command line.

Leave a Reply