Use apropos to find the command you’re looking for

  • January 22, 2008
  • Avatar for peter
    Peter
    Upfold

A quick command line tip for you today.

The manual page system built into Unix-like operating systems is often very helpful for looking up how to use a particular command. But what do you do if you know what you want to do, but not the command name? Or you want to look up all the commands relating to a specific keyword?

The apropos command looks through the man database and does exactly that. Give it a keyword and it will return you a list of possible matches, along with a handy description of each one.

apropos mkdir screenshot

It is a vital tool in your command line toolbox and can often save your sanity when your memory fails you on that command name. Enjoy!

Avatar for peter Peter Upfold

Home » Articles »