Difference between revisions of "Export"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(One intermediate revision by the same user not shown)
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"  

Latest revision as of 05:23, 22 May 2020

This article is a Draft. Help us to complete it.


  • export PATH=$PATH:$(dirname $(go list -f '{{.Target}}' .))
ssh SERVER_NAME -t "export PS1=your_text; bash" 


See also[edit]

  • https://www.cyberciti.biz/faq/unix-linux-bash-history-display-date-time/