How to use whatis and xargs linux commands

Have you ever wanted to know what the commands various commands in linux do?  Such as the commands in:

/bin
/sbin
/usr/bin

Move to the bin directory of your choice and follow the example below:

cd /bin
ls | xargs whatis | less

You will get an output of the command and a summary of it’s function:

 

basename             (3p)  – return the last component of a pathname

bash                 (1)  – GNU Bourne-Again SHell

bash [builtins]      (1)  – bash built-in commands, see bash(1)

bash [sh]            (1)  – GNU Bourne-Again SHell

ca                   (1ssl)  – sample minimal CA application

cat                  (1)  – concatenate files and print on the standard output

cat                  (1p)  – concatenate and print files

chgrp                (1)  – change group ownership

chgrp                (1p)  – change the file group ownership

chmod                (1)  – change file mode bits

chmod                (1p)  – change the file modes

chmod                (2)  – change permissions of a file

chmod                (3p)  – change mode of a file

chown                (1)  – change file owner and group

 

Dell PowerEdge R510:2x Intel Xeon X5650 @ 2.6GHz 32GB PC3 (case damage)~
$166.14 Dell PowerEdge R510:2x Intel Xeon X5650 @ 2.6GHz 32GB PC3 (case damage)~ picture
Late 2006 Apple Mac Pro Quad Core A1186 2x xeon 5150 2.66GHz&
$45.2 Late 2006 Apple Mac Pro Quad Core A1186 2x xeon 5150 2.66GHz& picture
New HP 307103-001 2.8GHz 2800DP XEON CPU with Heat Sink
$36.0 New  HP  307103-001 2.8GHz 2800DP XEON CPU with Heat Sink picture
SuperMicro X7DWA-N MB REV 1.1 X2 Xeon w/ HEATSINK w/ E5410 SLANW CPU PROCESSORS
$279.0 SuperMicro X7DWA-N MB  REV 1.1 X2 Xeon w/ HEATSINK w/ E5410 SLANW CPU PROCESSORS picture
Dell Electronics PowerEdge 2950 Server (9424)
$15.0 Dell Electronics PowerEdge 2950 Server (9424) picture

Powered by WordPress. Designed by WooThemes