Posts Tagged ‘TAB’

terminal shortcuts usage:TAB

It is just one to just know it but another to know its perfect usage. I will try to cover its usages on my daily administration in this log. Any suggestion on the perfect or possible usage is welcome in the comments.

The most used would be the TAB auto-completion technique:

NOTE:: BACKSPACE to exit from the system manual pager.

Command completion:: If you want to find the list of any device information then you would look for ls(list) command. just type ls and press TAB twice.

You will get the short list of possible completion, try $lsusb for list of detected USB devices.

File-name/Directory completion:: You never have to write your complete file-name again. It will manage even if you are in a different directory. try looking for your wvdial.conf(/etc/wvdial.conf) file, easiest way- type $vim -v /e+TAB(2)+wv+TAB(2) ,you got through.

LOOKOUT:: TAB completion is smart enough to distinguish among a file to a directory. Use vim -v(or any editor) for file-names and  cd(or any directory related command)  for directories.

Environment Variable completion:: try $+TAB(2) for full list of variables. For anything particular or use it for digging deep into linux try some sequences like $PA+TAB(2) for $PATH


Linux is easy on your task right?? It takes a sh** load of your job off… 😛