Author Topic: CL tip  (Read 966 times)

Offline Rudge

  • Hero Member
  • *****
  • Posts: 9773
  • I'm Just A Dog.
CL tip
« on: September 13, 2009, 11:23:03 PM »
In "Command Line",
If you can only remember the first, or first few letters in a command, but can't remember the whole command, type in what you remember and hit the <Tab> key. It will show you all the commands that start with those few characters. You can even just hit <Tab> with nothing typed in, and get a list of all the commands that are available. ;)   


-If you wish to make an apple pie from scratch, you must first invent the universe-  Carl Sagan

Offline mokmeister

  • Full Member
  • ***
  • Posts: 189
  • I think, therfore I erm.
Re: CL tip
« Reply #1 on: September 14, 2009, 12:45:50 AM »
Nice tip rudge12000. In the same vein, if you know what you want to do, but can't remember the command, at the command line, type "apropos [keyword]" (without quotes), where [keyword] is the string that relates to the command you are searching for.

For example:
[mokmeister@localhost ~]$ apropos whatis
apropos              (1)  - search the whatis database for strings
makewhatis           (8)  - Create the whatis database
whatis               (1)  - search the whatis database for complete words