mkatari-bioinformatics-august-2013-introlinuxnotes
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
mkatari-bioinformatics-august-2013-introlinuxnotes [2013/08/13 15:56] – created mkatari | mkatari-bioinformatics-august-2013-introlinuxnotes [2013/08/13 15:57] – mkatari | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Introduction to Linux ====== | ||
+ | |||
====== Environment variables and PATH ====== | ====== Environment variables and PATH ====== | ||
Line 7: | Line 9: | ||
</ | </ | ||
- | The variable that is most important to us PATH. The PATH is where the computer is looking for the commands. To see the contents of the variable type: | + | The variable that is most important to us is '' |
< | < | ||
Line 13: | Line 15: | ||
</ | </ | ||
- | In the sbatch files we have been adding the full path to the commands. Another option is to add the path of the command you want to use to PATH. This is what module load essentially does. | + | In the sbatch files we have been adding the full path to the commands. Another option is to add the full path of the command you want to use to the variable |
For example the following two commands are equivalent. | For example the following two commands are equivalent. | ||
Line 22: | Line 24: | ||
module load samtools | module load samtools | ||
</ | </ | ||
- |
mkatari-bioinformatics-august-2013-introlinuxnotes.txt · Last modified: 2015/06/11 11:50 by mkatari