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

 


IndusTec 10 AMP Reverse Polarity Switch 12v Momentary Toggle with Pigtail Wires picture

IndusTec 10 AMP Reverse Polarity Switch 12v Momentary Toggle with Pigtail Wires

$9.49



IndusTec DC Motor Reverse Polarity Switch 12v Reversing - 20A Rocker Momentary picture

IndusTec DC Motor Reverse Polarity Switch 12v Reversing - 20A Rocker Momentary

$8.99



Industec Motor Polarity Reversing Momentary Switch DPDT 12V 24V 20AMPS SEE VIDEO picture

Industec Motor Polarity Reversing Momentary Switch DPDT 12V 24V 20AMPS SEE VIDEO

$8.99



IndusTec 20 A Motor Polarity - Reversing Momentary Toggle Switch W Jumpers 3 pos picture

IndusTec 20 A Motor Polarity - Reversing Momentary Toggle Switch W Jumpers 3 pos

$8.99



US Motor Polarity Reverse Reversing KCD4 Rocker Switch 16A / 250V 20A / 125V picture

US Motor Polarity Reverse Reversing KCD4 Rocker Switch 16A / 250V 20A / 125V

$6.99



DC Momentary Motor polarity reverse reversing Rocker switch control DPDT 12v picture

DC Momentary Motor polarity reverse reversing Rocker switch control DPDT 12v

$15.95



IndusTec DPDT 20 AMP - 6 PIN Maintained 3 Position Rocker Switch polarity 12V DC picture

IndusTec DPDT 20 AMP - 6 PIN Maintained 3 Position Rocker Switch polarity 12V DC

$6.99



Momentary Polarity Reverse Switch Waterproof Linear Actuator 6 Pin 3 Position picture

Momentary Polarity Reverse Switch Waterproof Linear Actuator 6 Pin 3 Position

$15.67



InusTec DC Maintained Motor polarity - reversing Rocker switch control DPDT 12v picture

InusTec DC Maintained Motor polarity - reversing Rocker switch control DPDT 12v

$8.99



IndusTec 30 AMP Maintained - Latching Motor polarity reversing Rocker switch 12V picture

IndusTec 30 AMP Maintained - Latching Motor polarity reversing Rocker switch 12V

$13.99



Powered by WordPress. Designed by WooThemes