Setting local variables: Difference between revisions
Jump to navigation
Jump to search
Modify
No edit summary |
|||
Line 3: | Line 3: | ||
== Modify <code>.bashrc</code> and <code>.bash_profile</code> == | == Modify <code>.bashrc</code> and <code>.bash_profile</code> == | ||
=== Adding custom directories to the system PATH === | |||
PATH=$PATH:$HOME/bin:$HOME/bin/bin | |||
export PATH | |||
=== Increase number of commands remembered in the history === | |||
# Maximum numbers of lines that can be written to the file | |||
export HISTFILESIZE=100000 | |||
# Change this to a reasonable number of lines to save | |||
export HISTSIZE=100000 | |||
== See also == | == See also == |
Revision as of 15:00, 8 December 2013
Environment Variables
Modify .bashrc
and .bash_profile
Adding custom directories to the system PATH
PATH=$PATH:$HOME/bin:$HOME/bin/bin
export PATH
Increase number of commands remembered in the history
- Maximum numbers of lines that can be written to the file
export HISTFILESIZE=100000
- Change this to a reasonable number of lines to save
export HISTSIZE=100000
See also
- B4F Cluster
- Lx6 and Lx7 compute nodes
- Create a shortcut for the ssh log-in command
- Installing R packages locally