At the moment I am trying to add a path for ns-2 to my .bashrc file, I have installed the ns-allinone-2.34 but the command ns gives the result: command not found when entere
The PATH should contain the directory for the binaries, not the binaries themselves.
PATH
For example, in the above:
export PATH=/home/michael/ns-allinone-2.34/bin/ns:..
should actually be:
export PATH=/home/michael/ns-allinone-2.34/bin:...