Bash Environment
Bash is a programing language.
Last updated
Bash is a programing language.
Last updated
Bash is an sh-compatible shell that allows us to run complex commands and perform different tasks from a terminal window.
we can directly run our command in terminal or save in file with .sh and then run it.
Terminal
When opening a terminal window, a new Bash process, which has its own environment variables, is initialized.
These variables are a form of global storage for various settings inherited by any applications that are run during that terminal session.
One of the most commonly-referenced environment variables is PATH, which is a colon-separated list of directory paths that Bash will search through whenever a command is run without a full path.