View Single Post
Posts: 47 | Thanked: 11 times | Joined on Oct 2006
#11
Originally Posted by qwerty12 View Post
echo "PATH=/sbin:$PATH" >> ~/.profile

^ should work.

As for your second question, look at the file /etc/profile.d/prompt.sh and google bash PS1.

Corrected thanks to free here:
http://www.internettablettalk.com/fo...73&postcount=4
For those searching for "N900 $PATH", I add: After much reading and some courage I added "/home/user/bin" using the above. (((There was no /home/user/.profile so I created it with text: "PATH = $PATH:/user/home/bin"))). It works. I can now safely run some little shell scripts (stored in /home/user/bin which I created for this purpose) as user. Thanks querty12.
 

The Following User Says Thank You to statwrangler For This Useful Post: