13 Linux Terminal Shortcuts Every Power Linux User Must Know
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Brief: Here are some keyboard shortcuts that every Linux user must use. These Linux shortcuts will increase your productivity and efficiency while using the command line.
You know what sets apart a pro user from a regular user? Mastery over the keyboard shortcuts.
Alright! That’s not the only thing but it is undoubtedly a factor.
Shortcuts help you to be more productive and efficient with whatever tool you use. Just think about it. If someone holds the mouse all the way down to copy entire text instead of Ctrl+A, how would you feel about it?
I do not agree that users must use these short cuts but it will enhance your command line usage when successfully performed.
Quote:
"Knowledge is of two kinds. We Know a subject ourselves, or we know where we can find information upon it."- Samuel Johnson
but aren't these specific to the shell used (presumably bash)?
Tab completion is handled by the shell. Most of the rest are implemented by readline, which bash uses (but not ksh* or dash). They should work on any programs that use the readline library.
The rest are tty layer operations. Some will depend on whether the application has set canonical (cooked) or non-canonical (raw) input mode on the tty. And the ones that generate signals (e.g. ctrl-c) might be blocked by the application.
ctrl-u is really useful when you get halfway through typing your password and realise you've cocked it up, but can't fix it because it is invisible.
* many will work if you set -o emacs in ksh93, but there are some differences.
By experimentation a user will learn. No problem with learning new user short cuts for their shell. Most will use 'Bash' and learn without to much effort. When one does make a mistake then hopefully they will learn how to have corrections.
Personally, I have learned more from my mistakes when I was able to recover from learning proper methods. Each to his/her methods.
Hopefully you will learn from mistakes and not do over again. And sure, you do have backups to recover from. Right!
I have several times in my career!
Quote:
"Life's tough...It's even tougher if you're stupid." - John Wayne
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.