LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   13 Linux Terminal Shortcuts Every Power Linux User Must Know (https://www.linuxquestions.org/questions/linux-general-1/13-linux-terminal-shortcuts-every-power-linux-user-must-know-4175633334/)

onebuck 07-05-2018 08:51 AM

13 Linux Terminal Shortcuts Every Power Linux User Must Know
 
Hi,

I hope this posting helps users who are not aware of these short cuts therefore enhancing their work/abilities at the command line.

13 Linux Terminal Shortcuts Every Power Linux User Must Know ;
Quote:

June 28, 2018 by Abhishek 9 Comments

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
Hope this helps.
Have fun & enjoy!
:hattip:

ondoho 07-05-2018 04:37 PM

^ i learned something to day.

but aren't these specific to the shell used (presumably bash)?

Trasa 07-05-2018 05:34 PM

Did you forget the up arrow to scroll through previous commands, or is that considered one that everyone knows and so isnt worthy of inclusion?

Oh and good post i forget some of those on occaision :)

brianL 07-05-2018 06:15 PM

Tab completion is the one I've used most.

GazL 07-06-2018 05:38 PM

Quote:

Originally Posted by ondoho (Post 5875979)
^ i learned something to day.

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.

onebuck 07-06-2018 08:12 PM

Member response
 
Hi,

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
Hope this helps.
Have fun & enjoy!
:hattip:


All times are GMT -5. The time now is 07:06 PM.