CyberTek - the future at the present!
Google

Archive for October, 2009

Shorcuts shell bash

Posted by: admin (Oct 19)

Ctrl + A Go to the top of the line you are typing.
Ctrl + E Go to end of line you are typing.
Ctrl + L Clears the screen.
Ctrl + U Clear the screen before the cursor. If you are at the end of the line, clears the entire line.
Ctrl + R allows you to search through previously used commands.
Ctrl + C Finish whatever you are doing.
Ctrl + D Exit the current shell.
Start suspension Ctrl + Z in the background whatever you are doing.
Ctrl + W Delete the word that comes before the cursor.
Ctrl + K Clear the line after the cursor.
Ctrl + T Reverses the last two characters before the cursor.
Esc + T Reverses the last two words before the cursor.
Alt + F Move cursor forward one word in the current row.
Alt + B Move cursor backward one word in the current row.
Complete tab automatically names files and folders.
Paste Ctrl + Y (as in copy and paste) all the text before the cursor.

Note: Some of these commands do not work if shell access is via telnet, SSH session or if the keyboard is a particular configuratain

Published in: linux, shell, tips
Powered by Cybertek - Remote Assistance