Difference between revisions of "BASH scripting"
From Rizzo_Lab
(→Bourne-Again Shell (Bash)) |
|||
Line 1: | Line 1: | ||
==Bourne-Again Shell (Bash)== | ==Bourne-Again Shell (Bash)== | ||
− | + | '''Bash''' is an acronym for "Bourne-Again Shell", the name of a code interpreter and a high-level programming language, and it is a must-know tool in Computational Chemistry and Biology. | |
+ | You can use Bash scripting in Unix/Linux computers through a '''terminal'''. | ||
+ | When you initialize the '''shell''', i.e, the interpreter, your computer runs initialization files -- <code>~/.bash_profile</code>, <code>~/.bash_login</code>, and <code>~/.profile</code> (where <code>~/</code> points to your ''home'' directory) -- but we do not recommend changing these files unless you really know what you are doing. | ||
+ | In most cases, you can change the <code>~/.bashrc</code> file, which allows the user to customize the system according to their needs. | ||
==Environment Variables== | ==Environment Variables== |
Revision as of 09:54, 24 January 2020
Bourne-Again Shell (Bash)
Bash is an acronym for "Bourne-Again Shell", the name of a code interpreter and a high-level programming language, and it is a must-know tool in Computational Chemistry and Biology.
You can use Bash scripting in Unix/Linux computers through a terminal.
When you initialize the shell, i.e, the interpreter, your computer runs initialization files -- ~/.bash_profile
, ~/.bash_login
, and ~/.profile
(where ~/
points to your home directory) -- but we do not recommend changing these files unless you really know what you are doing.
In most cases, you can change the ~/.bashrc
file, which allows the user to customize the system according to their needs.