Difference between revisions of "Export (Bash buildin)"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
 
* <code>export YOUR_VARIABLE="YOUR_VALUE"</code>
 
* <code>export YOUR_VARIABLE="YOUR_VALUE"</code>
 
 
 
* <pre>export PATH=$PATH:$(dirname $(go list -f '{{.Target}}' .))</pre>
 
* <pre>export PATH=$PATH:$(dirname $(go list -f '{{.Target}}' .))</pre>
 
 
* <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>
 
   
 
   

Revision as of 11:47, 18 February 2021

Advertising: