Introducing UNIX and Linux |
Introduction to shellsOverview |
Types of shell commandWe must now distinguish between two concepts -
utilities and commands. A utility
is the name of a program, such as
which will display the 'vital statistics' of the system you are
running the command on, redirecting the output to file
comprises utility
When we use the word command, we mean any of the above five types of command. We discuss all of the above in this chapter, with the exception of functions, which are covered later on. Of the five types of command, we will explicitly define the first four, and all other commands we introduce come under the heading of compound commands. Don't worry if these names look complex - we need them so that later on we can be completely unambiguous when we discuss shells, and you may then need to refer back to here. For now, you should remember simply that command types are neatly categorised. |
Copyright © 2002 Mike Joy, Stephen Jarvis and Michael Luck