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

 

ADVANCE PHILIPS ICF-2S42-M2-LD FLUORESCENT BALLAST, 2-LAMP, 42W CFL, 120/277V
$27.5 ADVANCE PHILIPS ICF-2S42-M2-LD FLUORESCENT BALLAST, 2-LAMP, 42W CFL, 120/277V picture
7 Ballasts Mixed 1&2 Lamp Ballasts
$14.0 7 Ballasts Mixed 1&2 Lamp Ballasts picture
NEW Atlas Lighting Products MH175 0005MOG Ballast Lamp Kit 227V 480v
$64.95 NEW Atlas Lighting Products MH175 0005MOG Ballast Lamp Kit 227V 480v picture
NEW Atlas Lighting Products MH400 0005 KT Ballast Kit 480V, 400W, MH, 5 TAP
$124.99 NEW Atlas Lighting Products MH400 0005 KT Ballast Kit 480V, 400W, MH, 5 TAP picture
ROBERTSON 5M10050 HP22627P 277V Ballast for 2 CFQ26W/G24d CFTR26W/GX24d CFL
$39.99 ROBERTSON 5M10050 HP22627P 277V Ballast for 2 CFQ26W/G24d CFTR26W/GX24d CFL picture

Powered by WordPress. Designed by WooThemes