Difference between revisions of "Export (Bash buildin)"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 5: Line 5:
  
 
   
 
   
  ssh -t "[[export]] [[PS1]]=your_text; bash" SERVER_NAME
+
  ssh SERVER_NAME -t "[[export]] [[PS1]]=your_text; bash"  
  
  
 
== See also ==
 
== See also ==
 
* {{Bash}}
 
* {{Bash}}

Revision as of 10:13, 13 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

Advertising: