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

 

NEW JOHNSON CONTROLS 4E047 NSFB A19ABC-24E
$29.99 NEW JOHNSON CONTROLS 4E047 NSFB A19ABC-24E picture
a8) Johnson Controls Pilot J999MYA-2
$8.98 a8) Johnson Controls Pilot J999MYA-2 picture
Johnson Controls Expansion Module METASYS 4DI XP-9104-8304 **Clean**
$4.0 Johnson Controls Expansion Module METASYS 4DI XP-9104-8304 **Clean** picture
Johnson Controls Expansion Module METASYS XP-9102-8304 **Clean**
$6.0 Johnson Controls Expansion Module METASYS XP-9102-8304 **Clean** picture
Johnson Controls P70MA-1. Dual Pressure Control
$60.0 Johnson Controls P70MA-1. Dual  Pressure Control  picture

Powered by WordPress. Designed by WooThemes