Bash Shell built-in commands and reserved words
Command
Meaning
!
Reserved words, logical non-
:
Don't do anything, just do the parameter expansion
.
Read the file and execute it in the shell
Alias
To set a command or command-line alias
Bg
To run a job in the background
Bind
Bundle a keyword sequence with a readline function or macro
Break
Reserved words, jumping out for, while, until, select loops
Builtin
Invokes the command's built-in command format and disables the function with the same name. or extended command with the same name
Case
Reserved words, multiple choices
Cd
Toggle Current Working Directory
Command
Find built-in and external commands; Find built-in commands instead of functions with the same name
Continue
Reserved word, arrive next for, while, until, select Loop
Declare
Declaring variables defining variable properties
Dirs
Displays the currently stored list
Disown
To remove a job from the list
Do
Reserved words, part of for, while, until, select loops
Done
Reserved words, part of for, while, until, select loops
Echo
Printing parameters
Elif
Reserved word, part of the IF structure
Else
Reserved word, part of the IF structure
Enable
Open and close built-in commands
Esac
Reserved word, part of case
Eval
Process the argument again as a command
Exec
Replace the shell with a specific program or change the I/O for the shell
Exit
Exit shell
Export
Declaring a variable as an environment variable
Fc
Run with historical commands
Fg
To run a job in the background
Fi
Reserved word, part of the IF loop
For
Reserved word, part of the For loop
function
Define a function
Getops
Handling command-line options
Hash
Record and specify the path name of the command
Help
Show help for built-in commands
History
Show historical information
If
Reserved word, part of the IF loop
Inch
reserved word, case, for, part of the Select loop
Jobs
Show jobs running in the background
Kill
Send a signal to a process
Let
Make a variable perform arithmetic operations
Local
Defining local Variables
Logout
Log out of the shell
popd
Pop the directory from the directory stack
pushd
Press the catalog into the stack
Pwd
Show Current working directory
Read
Reading a row from standard input
ReadOnly
To define a variable as read-only
Return
Returning from a function or script
Select
reserved word, Generate menu
Set
Set shell options
Shift
Transform command line arguments
Suspend
Terminating the execution of the shell
Test
Evaluate conditional expressions
Then
Reserved word, part of the IF structure
Time
Reserved words, output Statistics of the command execution time, its output format by the TimeFormat variable to control
Times
For the shell and its child shells, displays the user and system CPU time and
Trap
Set up a capture program
Type
Determine the source of the command
Typeset
Declaring variables, defining variable properties, and declare equivalence
Ulimit
Set and display resource limits that are consumed by processes
Umask
setting and displaying file permission codes
Unalias
To cancel an alias definition
unset
Cancel a variable or function definition
Until
Reserved words, a looping structure
Wait
Wait for background jobs to complete
While
Reserved words, a looping structure
Bash Shell built-in commands and reserved words