Built-in Commands and Reserved Words shows a summary of all built-in commands and reserved words. The let-ters in the Type column of the table have the following meanings: R = reserved word, blank = built-in.
Table A-4. Built-in commands and reserved words
Command | Type | Summary |
---|---|---|
! | R | Logical NOT of a command exit status. |
: | Do nothing (just do expansions of any arguments). | |
. | Read file and execute its contents in current shell. | |
| Set up shorthand for command or command line. | |
| Put job in background. | |
| Bind a key sequence to a | |
| Exit from surrounding | |
| Execute the specified shell built-in. | |
| R | Reserved word. Multi-way conditional construct. |
| Change working directory. | |
| Run a command bypassing shell function lookup. | |
| Generate possible completion matches. | |
| Specify how completion should be performed. | |
| Skip to next iteration of | |
| Declare variables and give them attributes. Same as
| |
| Display the list of currently remembered directories. | |
| Remove a job from the job table. | |
| R | Part of a |
| R | Part of a |
| Output arguments. | |
| R | Part of an |
| R | Part of an |
| Enable and disable built-in shell commands. | |
| R | End of a |
| Run the given arguments through command-line processing. | |
| Replace the shell with the given program. | |
| Exit from the shell. | |
| Create environment variables. | |
| Fix command (edit history file). | |
| End background job in foreground. | |
| R | Part of an |
| R | Looping construct. |
| R | Define a function. |
| Process command-line options. | |
| Full pathnames are determined and remembered. | |
| Display helpful information on built-in commands. | |
| Display command history. | |
| R | Conditional construct. |
| R | Part of a |
| List any background jobs. | |
| Send a signal to a process. | |
| Arithmetic variable assignment. | |
| Create a local variable. | |
| Exit a login shell. | |
| Remove a directory from the directory stack. | |
| Add a directory to the directory stack. | |
| Print the working directory. | |
| Read a line from standard input. | |
| Make variables read-only (unassignable). | |
| Return from the surrounding function or script. | |
| R | Menu-generation construct. |
| Set options. | |
| Shift command-line arguments. | |
| Suspend execution of a shell. | |
| Evaluate a conditional expression. | |
| R | Part of an |
| R | Run command pipeline and print execution times. The
format of the output can be controlled with |
| Print the accumulated user and system times for processes run from the shell. | |
| Set up a signal-catching routine. | |
| Identify the source of a command. | |
| Declare variables and give them attributes. Same as
| |
| Set/show process resource limits. | |
| Set/show file permission mask. | |
| Remove alias definitions. | |
| Remove definitions of variables or functions. | |
| R | Looping construct. |
| Wait for background job(s) to finish. | |
| R | Looping construct. |
3.15.153.69