@evanjalin : Welcome to LQ.
How to delete an "ns-allinone-2.35/" that was unpacked with root :
1) $ su <enter-password>
2) # rm -rf ns-allinone-2.35
... And do not unpack anything ns2 with root !
The default ns2 build location is /home/evanjalin/,
.. where you must unpack with $ tar xvf ns-allinone-2.xx.tar.gz
P.S. : Also remember to delete any *PATH text that was added to .bashrc :
In /home/evanjalin/.bashrc , and /root/.bashrc
No ns2 *PATH text is to be added to any .bashrc , when it's your computer.
( Added only when the computer is owned by e.g. the University.)
Last edited by knudfl; 02-11-2014 at 01:43 PM.