You have to make sure the ns binary is in a directory in your shells path, to find out what directories are in your path you should be able to do 'echo $PATH' in a terminal. From here you can either add the path to the ns binary to your current path using either :
1) export PATH="$PATH:/path/to/ns/binary or 2) set PATH="$PATH:/path/to/ns/binary or you can simply copy the ns binary into one of the directories listed when you type 'echo $PATH' (this is my usual way of doing these sort of things, i tend to use the /usr/local/bin) directory. ie cp /path/to/ns/binary/ns /usr/local/bin Hope this helps Matt On Friday 24 February 2006 09:42, deepak kumar panwar wrote: > hi all > i have installed ns2.29 allinone at redhat linux 9.0. > installation and validation is successfull > now when i m trying to execute some file as > ns <filename.tcl> > it is showing > bash: ns : no such command found.. > > wt is the problem? > how can i run my ns files? > > plz anybody help me... > > thanking you for attention.... > > > regards > deepak panwar > nit kurukshetra > india -- Matthew Jakeman PhD Candidate Lancaster University -> http://www.lancs.ac.uk A44 Computing Department Infolab21 South Drive Lancaster University Lancaster LA1 3WA email - [EMAIL PROTECTED]