Bash advanced features:
http://www.deadman.org/bash.html
http://www.deadman.org/bash2.html
Bash advanced features:
http://www.deadman.org/bash.html
http://www.deadman.org/bash2.html
Here's a simple but good one to help you find the name of a command:
Or for root commandsCode:ls /usr/bin | grep "searchterm"
Code:ls /usr/sbin | grep "searchterm"
My cheat sheet is quite obvious.
If the command you want to find begins with "searchterm", you can just use tab-completion to do the search by entering the the search term, and then hitting tab twice to see a list of commands that begin with your search term, for example:
Of course tab-completion will search all paths in your $PATH, so if you specifically want to search /usr/bin or /usr/sbin, then your method would work. Also, if you want to search for "update-grub" by entering "grub", you would have to use something like your method since the tab completion would only find commands that start with "grub", like "grub-install".Code:user@ubuntu-computer:~$ wh <--press TAB twice and get: whatis which whiptail whoami whereis while who whoi
Bookmarks