Setting local variables

From HPCwiki
Revision as of 14:41, 19 March 2019 by Dawes001 (talk | contribs)
Jump to navigation Jump to search

Environment Variables

Modify .bashrc and .bash_profile

Adding custom directories to the system PATH

<source lang='bash'>

PATH=$PATH:$HOME/bin:$HOME/bin/bin

export PATH </source>

Increase number of commands remembered in the history

<source lang='bash'>

  1. Maximum numbers of lines that can be written to the file

export HISTFILESIZE=100000

  1. Change this to a reasonable number of lines to save

export HISTSIZE=100000 </source>

See also

External links