As a SysAdmin/DevOps, I spend a lot of my day in the terminal.
Here are my favorite shortcuts!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
The below two are particularly useful if you have a very long command.
Ctrl + k
Ctrl + u
Ctrl + w
Ctrl + r
clear
command:Ctrl + l
Ctrl + s
Ctrl + s
:Ctrl + q
Ctrl + c
Ctrl + z
I use those constantly every day and it saves me a lot of time.
If I’ve missed any feel free to share them in the comments below!
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
To go back to the [char] character in the current line.
To go forward to the
[char]
character on the current line.To swap two char around the cursor position.