Linux.com: CLI Magic: Information, Please
Jul 26, 2005, 05:30 (0 Talkback[s])
(Other stories by Joe Barr)
WEBINAR: On-demand Event
Replace Oracle with the NoSQL Engagement Database: Why and how leading companies are making the switch REGISTER >
"There are lots of ways the CLI can help you. Often, you don't
need to do something so much as you need to know something. This
week we'll take a quick look at several commands--whereis, whatis,
df, kernelversion, ifconfig, route, and last--that can quickly
answer questions about your system or configuration. Wipe that GUI
mess out of your eyes and meet me at the CLI.
"You know the command is on your system, because you've used it
before. But now you can't remember where it lives. Is it in /sbin?
Or /usr/bin? Somewhere else? The whereis command is designed to
answer that very question. In fact, whereis will tell you not only
where to find the executable command, but the source code--if it's
present--and man pages as well..."