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

 

Carbon Brushes For Ariston/Indesit Samsung washing machine WF0754W7V1 WF0854W8E1
$10.59 Carbon Brushes For Ariston/Indesit Samsung washing machine WF0754W7V1 WF0854W8E1 picture
Carbon Brushes For Ariston/Indesit Samsung washing machine WF7708N6W WF1752WPC
$10.59 Carbon Brushes For Ariston/Indesit Samsung washing machine WF7708N6W WF1752WPC picture
CN400N Nozzles for Samsung CP45 NEO SM321 /421 /471/481/482 p&p machine
$16.49 CN400N Nozzles for Samsung CP45 NEO SM321 /421 /471/481/482 p&p machine picture
Samsung Service Jig Glass Absorber GH81-11902D
$77.0 Samsung Service Jig Glass Absorber GH81-11902D picture
1Pcs Used Samsung N-70A Cpl 9210A Plc Plc Module M
$444.99 1Pcs Used Samsung N-70A Cpl 9210A Plc Plc Module M picture

Powered by WordPress. Designed by WooThemes