The Environment

Command Action
set Change shell options
export Create an environment variables
alias Create an alias for a command
printenv Print environment variables

Create an Environment Variable

Environment variables are passed from parent to child process. They’re created using export.

Special Environment Variables

Some environment variables have a special meaning. Of them $PATH is the most important. $PATH is a list of directories where the shell searches for commands.