-
Can't change $PATH
Trying to change the path so it includes my /var/hack directory.
if i, echo $PATH ,i get /bin:/sbin:/tvbin:/devbin all that seems ok, this is what i am doing to add my /var/hack directory .
cd /
mount -o remount,rw /
/var/hack/joe .profile
now on the first line of .profile im writing
export PATH=$PATH:/var/hack
ctrl k then x to save
mount -o remount,ro /
sync
exit
i telnet backin and echo $PATH ,but my hack dir still not in the path, any help???
-
Put quotes around it like this:
export PATH="$PATH:/var/hack"
-
thankyou
cheers bubblelamp
-
still not working
hi bubblelamp , still no joy, tried
export PATH="$PATH:/var/hack"
on the .profile , this file some time deletes it's self and is no longer there , any other help would be great
rob
-
still not working
hi bubblelamp , still no joy, tried
export PATH="$PATH:/var/hack"
on the .profile , this file some time deletes it's self and is no longer there , any other help would be great
rob
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules