Bash’s Builtin commands

Bash has got a ton of built-in commands such as:

export – exports a variable to the environment of all child processes running in the current shell

eval – evaluates a combined expression

hash – delete or reset the hash table (for remembered commands and their paths)

pwd – returns the ${PWD} variable

readonly – marks a variable or function as read-only

shift – shifts the positional parameters left by N number of times and renames the variable accordingly after shifting

test – evaluates a conditional expression

getopts – parse command line arguments

umask –¬†umask command sets a file mode creation mask for a current process

More here:

http://www.thegeekstuff.com/2010/08/bash-shell-builtin-commands/

Leave a Reply

Your email address will not be published. Required fields are marked *