Keyboard & Shortcut Commands


keyboard

ctrl+c
halts current command

ctrl+z
stops current command

ctrl+d
logout of current session

ctrl+W
erases one word in current line

ctrl+w
erases whole line

ctrl+r
reverse lookup of previous commands

exit
logout of current session

!!
repeat last command

ctrl+z
Stops the current command, resume with fg in the foreground or bg

ctrl+l
Clear the screen

Ctrl+A
Return to the start of the command you are typing

Ctrl+E
Go to the end of the command you are typing

Ctrl+U
Cut everything before the cursor to a special clipboard, erases the whole line

Ctrl+K
Cut everything after the cursor to a special clipboard

Ctrl+Y
Paste from the special clipboard that Ctrl+U & Ctrl+K save their data

Ctrl+T
Swap the two characters before the cursor

Ctrl+W
Delete the word / argument left of the cursor in the current line

Ctrl+D
Log out of current session, similar to exit

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s