![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| If File has been updated, do something?? | cbo0485 | Shell Programming and Scripting | 5 | 11-07-2008 10:52 AM |
| Log file not getting updated | KornFire | High Level Programming | 4 | 10-21-2008 03:12 AM |
| How to convert byteArray variables to HexaString variables for Linux? | ritesh_163 | High Level Programming | 2 | 08-10-2008 11:55 PM |
| Updated /etc/dfs/dfstab | benq70 | UNIX for Dummies Questions & Answers | 1 | 01-05-2006 09:39 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Env variables not getting updated from the bashprofile
Hi,
I am using the HP-UX machine of version B.11.23. My bashprofile looks like this : # @(#)B11.23_LR # Default user .profile file (/usr/bin/sh initialization). #! /usr/bin/bash # Set up the terminal: if [ "$TERM" = "" ] then eval ` tset -s -Q -m ':?hp' ` else eval ` tset -s -Q ` fi stty erase "^H" kill "^U" intr "^C" eof "^D" stty hupcl ixon ixoff tabs # Set up the search paths: PATH=$PATH:. # Set up the shell environment: set -u trap "echo 'logout'" 0 # Set up the shell variables: EDITOR=vi export EDITOR exec /usr/local/bin/bash # Netezza4.5 export SHLIB_PATH=$SHLIB_PATH:/home/Netezza/lib:/usr/local/lib export PATH=$PATH:/home/Netezza/bin:/usr/local/bin when i check the env variables, using env command, i am not able to see SHLIB_PATH. i.e. if i give echo $SHLIB_PATH, it is showing the blank path and $PATh is not showing the path mentioned in the bashprofile If i remove the line "exec /usr/bin/bash", then i am able to see the $path in env but when i am sourcing the bashprofile, it is showing that $SHLIB_PATH : unbound variable Please help me regarding this. ![]() Last edited by swethuanju; 03-10-2009 at 03:22 AM.. |
| Sponsored Links | ||
|
|