Don't like ads? PRO users don't see any ads ;-)
Guest

bashrc rcfile problems

By: a guest on Apr 30th, 2012  |  syntax: Bash  |  size: 0.09 KB  |  hits: 22  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #/tmp/foo.bashrc
  2. export FOO=1
  3. #end
  4.  
  5.  
  6. #> bash --rcfile /tmp/foo.bashrc -c 'echo $FOO'
  7.  
  8. #>