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

 

154488 New In Box, ARO CHL6-024-G Solenoid Coil Connector, 24VDC
$25.98 154488 New In Box, ARO CHL6-024-G Solenoid Coil Connector, 24VDC picture
154486 New In Box, ARO CHL6-120-G Solenoid Coil Connector, 120VAC
$22.04 154486 New In Box, ARO CHL6-120-G Solenoid Coil Connector, 120VAC picture
SMC SYJ3443-5LOU-Q Pneumatic SYJ3000 Rubber 5-Port 3-Position Solenoid Valve
$49.99 SMC SYJ3443-5LOU-Q Pneumatic SYJ3000 Rubber 5-Port 3-Position Solenoid Valve picture
152607 Used, Rexroth 3WE6A61/EW11ON9DAL Hydraulic Solenoid Valve, Missing Coil
$57.48 152607 Used, Rexroth 3WE6A61/EW11ON9DAL Hydraulic Solenoid Valve, Missing Coil picture
ALLEN BRADLEY 860-K0D108 SOLENOID VALVE * USED *
$164.0 ALLEN BRADLEY 860-K0D108 SOLENOID VALVE * USED * picture

Powered by WordPress. Designed by WooThemes