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

 


Sanfords King Size Permanent Marker Metal Vtg Nos Old School Smell Works Lot Red picture

Sanfords King Size Permanent Marker Metal Vtg Nos Old School Smell Works Lot Red

$20.00



Vintage BernzOMatic Propane Cutting Torch Kit picture

Vintage BernzOMatic Propane Cutting Torch Kit

$39.99



Boho Print Poly Mailers Plastic Envelopes Shipping Bags Custom #SmileMail® picture

Boho Print Poly Mailers Plastic Envelopes Shipping Bags Custom #SmileMail®

$16.95



Large Writing Notebook Handmade Leather Bound Vintage Journal for Women&Men with picture

Large Writing Notebook Handmade Leather Bound Vintage Journal for Women&Men with

$11.38



Vintage Professional 8 Oz Kettle Black Popcorn Machine Cart picture

Vintage Professional 8 Oz Kettle Black Popcorn Machine Cart

$239.99



Vintage National Bureau of Standards 36a Chromium-Molybdenum Steel NIST picture

Vintage National Bureau of Standards 36a Chromium-Molybdenum Steel NIST

$39.50



Vintage Professional 8 Oz Kettle Red Popcorn Machine Cart picture

Vintage Professional 8 Oz Kettle Red Popcorn Machine Cart

$239.99



8 oz. 600-Watt Gold Vintage Kettle Popcorn Machine picture

8 oz. 600-Watt Gold Vintage Kettle Popcorn Machine

$239.99



TWO Vintage 1973 50X Edmund Direct Measuring Pocket Microscopes. Orginal Box picture

TWO Vintage 1973 50X Edmund Direct Measuring Pocket Microscopes. Orginal Box

$48.00



Vintage Ridgid No. 1 - 2 Heavy Duty 1/8

Vintage Ridgid No. 1 - 2 Heavy Duty 1/8" to 2" Inch Pipe Cutter

$26.99



Powered by WordPress. Designed by WooThemes