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>
 
 
* <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>
 
   
 
   
Line 10: Line 9:
  
 
* <code>export [[AWS_CLI_AUTO_PROMPT]]=on</code>
 
* <code>export [[AWS_CLI_AUTO_PROMPT]]=on</code>
 +
 +
* <pre>export PATH=$PATH:$(dirname $(go list -f '{{.Target}}' .))</pre>
  
 
== Related terms ==
 
== Related terms ==

Revision as of 08:02, 29 August 2021

Advertising: