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

 


AC 60-500V 0-100A 22mm 3-in-1 Voltmeter Ammeter Digital Volt AMP Frequency Meter picture

AC 60-500V 0-100A 22mm 3-in-1 Voltmeter Ammeter Digital Volt AMP Frequency Meter

$7.64



DC 100V 100A Voltmeter Ammeter Volt Amp Meter Voltage Current Tester with Shunt picture

DC 100V 100A Voltmeter Ammeter Volt Amp Meter Voltage Current Tester with Shunt

$12.25



100A AC Meter Ammeter Volt Energy Voltage Power LCD Display Monitor Panel picture

100A AC Meter Ammeter Volt Energy Voltage Power LCD Display Monitor Panel

$16.71



100A AC LCD Digital Volt Watt Power Voltage Meter Monitor KWh Voltmeter Ammeter picture

100A AC LCD Digital Volt Watt Power Voltage Meter Monitor KWh Voltmeter Ammeter

$14.99



DC 100A 100V Voltmeter Ammeter Volt Amp Meter Voltage Current Tester with Shunt picture

DC 100A 100V Voltmeter Ammeter Volt Amp Meter Voltage Current Tester with Shunt

$12.18



DC 12-24V 10-20A Dual LED Digital Voltmeter Ammeter Amp Volt Meter Guage Black picture

DC 12-24V 10-20A Dual LED Digital Voltmeter Ammeter Amp Volt Meter Guage Black

$10.99



DC 100V 100A Voltmeter Ammeter Volt Amp Meter Voltage Current Tester with Shunt picture

DC 100V 100A Voltmeter Ammeter Volt Amp Meter Voltage Current Tester with Shunt

$12.49



AC 60-500V 0-100A 22mm 3 in 1 Voltmeter Ammeter LED Digital Volt/AMP Meter US picture

AC 60-500V 0-100A 22mm 3 in 1 Voltmeter Ammeter LED Digital Volt/AMP Meter US

$7.19



US Stock DC -20A ~ +20A Analog AMP Current Needle Panel Meter Ammeter & Shunt picture

US Stock DC -20A ~ +20A Analog AMP Current Needle Panel Meter Ammeter & Shunt

$18.16



DC100V 20A LED Digital Panel Voltage Meter Tester Gauge Voltmeter Ammeter picture

DC100V 20A LED Digital Panel Voltage Meter Tester Gauge Voltmeter Ammeter

$12.13



Powered by WordPress. Designed by WooThemes