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/16 18:14] – mkatari | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Environment variables and PATH ====== | + | [[mkatari-bioinformatics-august-2013|Back to Manny' |
+ | |||
+ | ====== Some useful information about linux ====== | ||
+ | |||
+ | === Environment variables and PATH === | ||
All variables that are set in your environment can be found by using | All variables that are set in your environment can be found by using | ||
Line 7: | Line 11: | ||
</ | </ | ||
- | 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 17: | ||
</ | </ | ||
- | 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 26: | ||
module load samtools | module load samtools | ||
</ | </ | ||
- |
mkatari-bioinformatics-august-2013-introlinuxnotes.txt · Last modified: 2015/06/11 11:50 by mkatari