Difference between revisions of "Export (Bash buildin)"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
{{Draft}}
 
 
{{lowercase}}
 
{{lowercase}}
  
Line 5: Line 4:
 
* <code>echo '[[export]] [[HISTTIMEFORMAT]]="%d/%m/%y %T "' >> ~/.[[bash_profile]]</code><ref>https://www.cyberciti.biz/faq/unix-linux-bash-history-display-date-time/</ref>
 
* <code>echo '[[export]] [[HISTTIMEFORMAT]]="%d/%m/%y %T "' >> ~/.[[bash_profile]]</code><ref>https://www.cyberciti.biz/faq/unix-linux-bash-history-display-date-time/</ref>
 
   
 
   
ssh SERVER_NAME -t "[[export]] [[PS1]]=your_text; bash"  
+
 
 +
*<code>ssh SERVER_NAME -t "[[export]] [[PS1]]=your_text; bash" </code>
 +
 
  
 
* <code>[[export]] TERM=[[xterm]]</code>
 
* <code>[[export]] TERM=[[xterm]]</code>
Line 13: Line 14:
 
* <code>export [[LANG]]=[[en_US]].[[UTF-8]]</code>
 
* <code>export [[LANG]]=[[en_US]].[[UTF-8]]</code>
  
* <pre>export PATH=$PATH:$(dirname $(go list -f '{{.Target}}' .))</pre>
+
* <code>export PATH=$PATH:$(dirname $(go list -f '{{.Target}}' .))</code>
  
 
== Related terms ==
 
== Related terms ==

Revision as of 12:25, 8 October 2021

Advertising: