Difference between revisions of "Export (Bash buildin)"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 4: Line 4:
 
* <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>
 
   
 
   
 
  ssh SERVER_NAME -t "[[export]] [[PS1]]=your_text; bash"  
 
  ssh SERVER_NAME -t "[[export]] [[PS1]]=your_text; bash"  

Revision as of 05:23, 22 May 2020

Advertising: