zwangsnotes
Monday, November 5, 2012
export not working in Unix
Problem:
Create a script, aaa.script
export bbb=/opt/ccc
Then, run it by typing ./aaa.script.
After that, # echo bbb and get nothing.
Solution:
run it by typing . aaa.script
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment