Little Girl's Mostly Linux Blog

FileOrCommandInfo

File or command info

This page was last updated on July 18, 2009.

Here are some of the ways you can get information about a command.

  • Replace commandname with the name of the command you’re interested in when using this chart:
  • COMMAND WHAT IT DOES
    man:commandname Display a command’s man page in Konqueror by typing this in the address bar.
    apropos commandname Search all man pages and descriptions for a command.
    commandname --help Display a command’s usage.
    commandname --help | less Display a command’s usage one screenful at a time in scrollable format.
    commandname --help | more Display a command’s usage one screenful at a time.
    file /path/to/commandname Find out what kind of file a command is.
    help commandname Display a command’s documentation in Help format.
    info commandname Display a command’s documentation in Info format.
    locate commandname Find a command by name.
    man commandname Display a command’s man page.
    man -f commandname Search local (on your system) man files for a command.
    man -k commandname Search all man pages and descriptions for a command.
    stat commandname Display the status of a command.
    type commandname Display path of a command.
    whatis commandname Search local (on your system) man files for a command.
    whereis commandname Locate the binary, source, and manual page files for a command.
    which commandname Display path of a command.


Obligatory Happy Ending

And they all lived happily ever after. The end.

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Comment:

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: