Setting local variables: Difference between revisions

From HPCwiki
Jump to navigation Jump to search
Megen002 (talk | contribs)
Phase 1 § 5 P1.5.3: content merged into Installing Personal Software (via update-page on MediaWiki MCP Server)
Tag: New redirect
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Environment Variables ==
#REDIRECT [[Installing Personal Software]]
 
== Modify <code>.bashrc</code> and <code>.bash_profile</code> ==
 
=== 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'>
# 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
</source>
 
== See also ==
* [[B4F_cluster | B4F Cluster]]
* [[Lx6_and_Lx7_compute_nodes | Lx6 and Lx7 compute nodes]]
* [[Create_shortcut_log-in_command | Create a shortcut for the ssh log-in command]]
* [[Installing_R_packages_locally | Installing R packages locally]]
 
== External links ==

Latest revision as of 13:34, 16 June 2026