env variable
I want to check the value of an environment variable in a bash shell.
if i do an 'env' command, that gives me all of them. I would like to be able to check just one, something like: #env LD_LIBRARY_PATH LD_LIBRARY_PATH=/one/two/three How can I do this? |
Maybe:
# env | grep LD_LIBRARY_PATH I think there is a better way to do this but I can't think of it off the top of my head. |
works for me
|
printenv LD_LIBRARY_PATH
|
All times are GMT -5. The time now is 05:48 PM. |