Difference between revisions of ".bashrc and .bash profile"

From wikieduonline
Jump to navigation Jump to search
 
(7 intermediate revisions by 2 users not shown)
Line 8: Line 8:
  
 
== <code>.bash_profile</code> example ==
 
== <code>.bash_profile</code> example ==
  set -o vi
+
  [[set -o vi]]
 
  . ~/[[.bash_aliases]]
 
  . ~/[[.bash_aliases]]
 
  export [[HISTTIMEFORMAT]]="%d/%m/%y %T "
 
  export [[HISTTIMEFORMAT]]="%d/%m/%y %T "
Line 17: Line 17:
  
 
== Related terms ==
 
== Related terms ==
* <code>[[.profile]]</code>
+
* <code>[[.profile]]</code> and <code>[[.zprofile]]</code>
* <code>[[alias]]</code>
+
* <code>[[Bash: alias|alias]]</code>: <code>[[viconfig]], [[viprofile]]</code>
 
* <code>[[.hushlogin]]</code>
 
* <code>[[.hushlogin]]</code>
 
* <code>[[PS1]]</code>, <code>[[PATH]]</code>
 
* <code>[[PS1]]</code>, <code>[[PATH]]</code>
Line 24: Line 24:
 
* <code>[[suaws]]</code>
 
* <code>[[suaws]]</code>
 
* <code>[[source (command)]]</code>
 
* <code>[[source (command)]]</code>
 +
* <code>[[bash -i]]</code>
 +
* <code>[[bash --rcfile]]</code>
  
 
== See also ==
 
== See also ==
 
* {{bash}}
 
* {{bash}}
 
* {{zsh}}
 
* {{zsh}}
 
  
 
[[Category:Bash]]
 
[[Category:Bash]]

Latest revision as of 09:29, 13 February 2024

Advertising: