here i have problem with PATH command. I m using RHEL5 .Here USERADD command is located at /usr/sbin.If i want to use this command i should have added the export PATH=$PATH:/usr/sbin:/usr/local/bin. If once my system is restarted that PATH is gone.I have tried to adding that path permanently by editing the /etc/profile and /.bash_profile.But nothing was work. Can anybody give me the solution for this. Thanks in advance.
Add it to your ~/.bashrc.
Things you export go into .bashrc (if you use bash):
export BROWSER="/usr/bin/firefox" export EDITOR="/usr/bin/vim" export LC_MESSAGES="C"
now i got this.....
please mark your threads as solved once your questions have been answered. Edit the first post and prefix the subject line with [SOLVED]
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !