The Environment#
Command |
Action |
---|---|
|
Change shell options |
|
Create an environment variables |
|
Create an alias for a command |
|
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.