Cheatography
https://cheatography.com
bash/ksh hotkeys
bash |
|
ksh |
ctrl-l |
clear screen |
esc-\ |
auto completion. only work if the file/command is in current directory |
ctrl-r |
does a search in the previously given commands so thatdoes a search in the previously given commands so that you dont have to repeat long command |
esc-k |
scroll up |
ctrl-u |
clears the typing before the hotkey. |
esc-j |
scroll down |
ctrl-a |
takes you to the begining of the command you are currently typing. |
esc-/ |
search in the previously given commands (esc-/ keyin the command you want search & enter. press n or N to go to the next or previous command, even ctrl-r in bash can't go to the next or previous command or maybe i just don't know how. |
ctrl-e |
takes you to the end of the command you are currently typing in. |
esc-= |
filename check - this is cool!!! |
esc-b |
takes you back by one word while typing a command. |
esc-l |
forward one character |
ctrl-c |
kills the current command or process. |
esc-h |
backward one character |
ctrl-d |
kills the shell. |
esc-x |
delete one character |
ctrl-h |
deletes one letter at a time from the command you are typing in. |
esc-r |
replace one character |
ctrl-z |
puts the currently running process in background, the process can be brought back to run state by using fg command. |
esc-e |
forward end of word |
esc-p |
like ctrl-r lets you search through the previously given commands. |
esc-b |
backward beginning of word |
esc |
gives the last command you typed. |
esc-d |
delete to end of line |
tab |
auto completion |
esc-i |
insert text (current space) |
|
|
esc-a |
insert text (adjacent space) |
|
|
esc-^ |
move cursor to beginning of line |
|
|
esc-$ |
move cursor to end of line |
|
Created By
Metadata
Favourited By
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets
More Cheat Sheets by maxbini