GNU/Linux Command – WHEREIS

MayaVi – A Free, Cross Platform, Easy to use GUI based scientific data visualizer, written in Python VTK, developed by Dr Prabhu Ramachandran (Ex Co-Ordinator – ILUGC).
 
whereis — Locate the bin, src & man page for a file.
 
Summary :
‘whereis’ locates source/binary and manuals sections for specified files. whereis will attempts to locate the desired program in a list of standard Linux places.
 
Example:
$ whereis ls -- Display the bin, src(if avail) and man pagelocations.  $ whereis -b ls -- Show only bin file location.  $ whereis -m ls -- Show only man page location.  $ whereis -s ls -- Show only source file location.  $ whereis -u -M /usr/share/man/man1 -f route -- Find the bin file location and search for man page in only man1 dir.  $ whereis -u -M /usr/man/man1 -S /usr/src -f * -- Find all files in  /usr/bin which are not documented in /usr/man/man1 with source in /usr/src.
Read: man whereis

Advertisements
Tagged with: ,
Posted in Uncategorized

Leave a Reply

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

%d bloggers like this: