Re post #17, @talk_2_tosin.
! Hopefully not !
` # ' is the root prompt, and you are not supposed to use root for any user command.
'root' is for administrative tasks only. E.g. # make install .
You can have all your ns2 builds like /home/name/ns2/<protocol>/ns-allinone-2.xx/.
( Example, /home/tosin/ns2/mannasim/ns-allinone-2.35/ ).
.. And do all simulation commands as unprivileged user : $ ns-mannasim file.tcl
* Actually you can have as many ns-allinone-2.xx as you want, on the same OS.
* But, do never add any *PATH text to .bashrc .
Just copy (# cp) all the executable 'ns-name' to /usr/local/bin/ .