top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

How do you set environment variable which will be accessible form sub shell?

+3 votes
375 views
How do you set environment variable which will be accessible form sub shell?
posted Dec 14, 2015 by Mohammed Hussain

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button
I am not sure what u are looking but seems u need export command something like
export LD_LIBRARY_PATH=<path>
Mention in ~/.bashrc

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
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...