Reserved Words and Built-in Shell Commands

Most of the following commands are built-in commands; they are present within the shell and are not external programs. Some of the shells discussed in this book do not contain all of these commands, so those commands that are restricted to a particular shell or shells are noted as so in the description of that command.

Although most of these commands functions the same under the shells covered in this book, some do not. This appendix describes the commands in general, for the specific information for your system you should consult the man page for the command of interest using the man command.

. (period) executes a script in the current shell rather than as a child process.

: (colon) no-op command. It ...

Get Sams Teach Yourself Shell Programming in 24 Hours, Second 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.