By Bobby
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!
Accepted Answer
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!
To go back to the [char] character in the current line.
ctrl + alt + ] + [char]
To go forward to the [char] character on the current line.
ctrl + ] + [char]
To swap two char around the cursor position.
ctrl + t
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.