July 2007
Beginner
347 pages
4h 40m
English
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. In this chapter, 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.
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. All you need to do is ask, ...
Read now
Unlock full access