Difference between revisions of "Export (Bash buildin)"

From wikieduonline
Jump to navigation Jump to search
Line 22: Line 22:
 
  export PATH=$HOME/brew/bin:$PATH >> ~/.zshrc # or ~/.bashrc
 
  export PATH=$HOME/brew/bin:$PATH >> ~/.zshrc # or ~/.bashrc
 
  [[export: not valid in this context]]: /Users/Guest/.bashrc
 
  [[export: not valid in this context]]: /Users/Guest/.bashrc
 +
 +
Solution: check you are not using a shell different from [[Bash]]
 +
  
 
== GitLab CI ==
 
== GitLab CI ==

Revision as of 17:11, 29 December 2023

https://man7.org/linux/man-pages/man1/export.1p.html


  • ssh SERVER_NAME -t "export PS1=your_text; bash"



export PATH=$HOME/brew/bin:$PATH >> ~/.zshrc # or ~/.bashrc
export: not valid in this context: /Users/Guest/.bashrc

Solution: check you are not using a shell different from Bash


GitLab CI

job_name:
 script:
   - export

Related terms

See also

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