Hi Muby,
I think that the problem comes from the fact you override the PATH
environment variable. As a result, when you try to use 'env' command,
the shell does not know where it is.
You should try like this:
Code:
export PATH=${PATH}:/root/ns-allinone-2.31/bin:/root/ns-allinone-2.31/tcl8.4.14/unix:/root/ns-allinone-2.31/tk8.4.14/unix
Proceeding this way allows you to add new paths to the existing list of paths of the PATH variable.
HTH,