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

 

BM2 Capacitors paper in oil guitar tone 2 pcs .022uF 200v. 4 pcs .047uF 160v.
$8.0 BM2 Capacitors paper in oil guitar tone  2 pcs .022uF 200v.  4 pcs .047uF 160v.  picture
50pcs 160v 10uf 160volt 10mfd 105c aluminum electrolytic capacitor 8×12mm
$3.49 50pcs 160v 10uf 160volt 10mfd 105c aluminum electrolytic capacitor 8×12mm picture
Century Motors RS1070AV1 Type: Capacitor Start | Application: Industrial Duty...
$551.99 Century Motors RS1070AV1 Type: Capacitor Start | Application: Industrial Duty... picture
Packard PRCFD705A Titan HD Motor Run Capacitor | 70+5 MFD | 440/370 Volt | Ro...
$39.98 Packard PRCFD705A Titan HD Motor Run Capacitor | 70+5 MFD | 440/370 Volt | Ro... picture
2pcs 2.2-4.7uF 400V Car Tweeter Speaker Divider Crossover Non-Polarity Capacitor
$2.98 2pcs 2.2-4.7uF 400V Car Tweeter Speaker Divider Crossover Non-Polarity Capacitor picture

Powered by WordPress. Designed by WooThemes