Skip to Content
The Linux Command Line
book

The Linux Command Line

by William E. Shotts Jr.
January 2012
Beginner content levelBeginner
480 pages
17h 46m
English
No Starch Press
Content preview from The Linux Command Line

Chapter 5. Working with Commands

Up to this point, we have seen a series of mysterious commands, each with its own mysterious options and arguments. In this chapter, we will attempt to remove some of that mystery and even create some of our own commands. The commands introduced in this chapter are these:

  • type—Indicate how a command name is interpreted.

  • which—Display which executable program will be executed.

  • man—Display a command’s manual page.

  • apropos—Display a list of appropriate commands.

  • info—Display a command’s info entry.

  • whatis—Display a very brief description of a command.

  • alias—Create an alias for a command.

What Exactly Are Commands?

A command can be one of four things:

  • An executable program like all those files we saw in /usr/bin. Within this ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

The Linux Command Line, 2nd Edition

The Linux Command Line, 2nd Edition

William E. Shotts
Linux Fundamentals

Linux Fundamentals

Sander van Vugt

Publisher Resources

ISBN: 9781593273897Errata Page