O'Reilly logo

Linux Shell Scripting with Bash by Ken O. Burtch

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix B. Summary of Bash Built-In Commands

alias—. Manages aliases.

bg—. Starts a suspended task in the background.

bind—. Manages keyboard mappings.

builtin—. Runs a built-in shell command.

cd—. Changes the directory.

command—. Runs a Linux command.

declare—. Declares variables.

dirs—. Displays cd directory stack.

disown—. Stops monitoring a background job.

echo—. Prints to standard output.

enable—. Turns the built-in shell commands on or off.

eval—. Runs a command after performing shell substitutions/expansions.

exec—. Leaves the shell and switches to a new program.

exit—. Exits Bash and returns a status code.

export—. Manages exported variables.

false—. Returns a non-zero status code.

fc—. Finds and edits command history lines.

fg—. Runs a suspended job ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required