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

From wikieduonline
Jump to navigation Jump to search
 
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
  
  
[[~]]/[[.bashrc]]
+
*<code>[[~]]/[[.bashrc]]</code>
~/[[.bash_profile]]  
+
*<code>~/[[.bash_profile]]</code>
~/[[.bash_aliases]]
+
*<code>~/[[.bash_aliases]]</code>
  
  
  
 
== <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 "
 
 
  
 
  [[suaws]] () {
 
  [[suaws]] () {
Line 19: 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>[[PS1]]</code>, <code>[[PATH]]</code>
 +
* <code>[[su -]]</code>
 +
* <code>[[suaws]]</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: