How to set path environment?
Hi all,
I'm running on Redhat Linux 7.2 and very new to Unix command.
I had just downloaded Network Simulator 2.26.
I need to set this path "/home/junior/ns-allinone-2.26/bin", so that everytime I log in, I can start using my Network Simulator program.
How do I point my current path to this directory?
I understand that I need to modify my .bash_profile.
I can see .bash_profile when I do "ls -a", but how do I edit/open the content inside .bash_profile?
I did tried the following:
PATH=$PATH:"/home/junior/ns-allinone-2.26/bin"
But it still doesn't help. How do I use the commands "set path" and "export" to get the path going?
I had been struck at this for the past 2 weeks, please help....
thanks,
Junior
|