Remember
Register
1
new
Chill
new
Puzzles
new
GK
new
Sports
new
Business
Home
Questions
MCQs
Unanswered
Tags
Users
Ask a Question
Write Article
Articles
Connect to us
How do you set environment variable which will be accessible form sub shell?
+3
votes
1,199
views
How do you set environment variable which will be accessible form sub shell?
unix
posted
Dec 14, 2015
by
Mohammed Hussain
Share this question
I am not sure what u are looking but seems u need export command something like
export LD_LIBRARY_PATH=<path>
Mention in ~/.bashrc
Your comment on this post:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
1 Answer
0
votes
By using export command, for example export count=1 will be available on all sub shell.
answer
Dec 15, 2015
by
Manikandan J
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Your answer
Preview
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Similar Questions
0
votes
How do you login to MySQL using Unix shell?
0
votes
How do you find which process is taking how much CPU?
+1
vote
How do you find which processes are using a particular file?
+1
vote
When do we run a shell in the UNIX system? How will you tell which shell you are running?
+1
vote
What are ways to debug a shell script problem, examples would be helpful?
...