Setting local variables: Difference between revisions

From HPCwiki
Jump to navigation Jump to search
No edit summary
Line 23: Line 23:


== See also ==
== See also ==
* [[B4F_cluster | B4F Cluster]]
* [[Anunna | Anunna]]
* [[Lx6_and_Lx7_compute_nodes | Lx6 and Lx7 compute nodes]]
* [[Lx6_and_Lx7_compute_nodes | Lx6 and Lx7 compute nodes]]
* [[Create_shortcut_log-in_command | Create a shortcut for the ssh log-in command]]
* [[Create_shortcut_log-in_command | Create a shortcut for the ssh log-in command]]

Revision as of 15:41, 19 March 2019

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