DEV Community

Discussion on: Linux Terminal: The Ultimate Cheat Sheet

Collapse
 
samuelabreu profile image
Samuel Abreu

Useful shortcuts i like:
ctrl + p: Replace [up], last command
ctrl + a: Replace [Home], go to beginning of the line
ctrl + e: Replace [End], go to end of the line
ctrl + f: forward one char
ctrl + b: backward one char
ctrl + w: Deletes one word
esc + f: forward one word
esc + b: backward one word

Useful to who uses keyboard without arrows or just dont wanna move hands.

Collapse
 
mauro_codes profile image
Mauro Garcia

Thanks for your feedback, Samuel. I didn't know about those shortcuts. They are messing with my head because I'm used to hitting "ctrl + w" and "ctrl + b" to move backward and forward in vim 😂

Collapse
 
zerolife profile image
Andrew Abraham

Don't forget
ctrl - r : Search history for command