Built-in Commands

Each shell also includes built-in commands for efficiency. Table 85 lists the built-in commands. The Bourne shell relies more on using external commands to do the work, and thus has the fewest built-in commands. The additional built-in commands for the Korn shell are shown by (K) following the command name. The job control variant of the Bourne shell, jsh, has the same job control features as the Korn shell.

CAUTION

Do not use any of the built-in commands as names for shell scripts. If you use one of the built-in commands as a shell script name, the shell will execute the built-in command instead of running the script.

Table 85. Shell Built-In Commands
Purpose Bourne or Korn Shell C Shell
Null command. : :
Create a command name ...

Get Solaris™ 8 Advanced System Administrator's Guide, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.