12.13. Shell Built-In Commands
The shell has a number of commands that are built-in to its source code. Because the commands are built-in, the shell doesn't have to locate them on disk, making execution much faster. The help feature provided with bash give you online help for any built-in command. The built-in commands are listed in Table 12.12.
Command | What It Does |
---|---|
. | Executes program in context of current process; same as source. |
. file | The dot command reads and executes command from file. |
: | Do-nothing command; returns 0 exit status. |
alias | Lists and creates “nicknames” for existing commands. |
bg | Puts a job in the background. |
bind | Displays current key and function bindings, or binds keys to a readline function or ... |
Get UNIX® Shells by Example, 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.