Thanks to all of you for your help, at the end I could solve my problem.
I just had to add ns path and nam path to my environment variable path.
I typed:
export PATH=$PATH:my ns directory and my nam directory.
Sincerely, thanks.
David Planells.

2006/5/15, Filippe Jabour <[EMAIL PROTECTED]>:
>
>
> The ".bashrc" file is at your home directory
>
> # .bashrc
>
> # User specific aliases and functions
>
> # Source global definitions
> if [ -f /etc/bashrc ]; then
>         . /etc/bashrc
> fi
>
> HOME_NS=/usr/local/ns-allinone-2.29
>         NS_DIR=$HOME_NS/bin
>
> PATH=${PATH}:$NS_DIR:/sbin
>
> LD_LIBRARY_PATH=$HOME_NS/otcl-1.11:$HOME_NS/lib
>
> TCL_LIBRARY=$HOME_NS/tcl8.4.11/library
>
> export HOME_NS NS_DIR LD_LIBRARY_PATH TCL_LIBRARY
>
>
>
>
> Filippe Jabour
> http://www.gta.ufrj.br/~jabour/
>
>
>
>
> David Planells escreveu:
> > Hello to all,
> > As you suppose, I'm new with NS, and I've a problem when I type the
> > following:
> >
> > -'$ns ex1.tcl' and I receive an error message just like this: ns command
> not
> > found.
> > I've read in the general problems page and I found  that :
> >
> > (Also, when I try typing the comamnd "ns simple.tcl", and I get the
> error
> > "ns: command not found".)
> >
> > *Solution:* Well, you need to add nam' directory to the environment
> variable
> > PATH or specify its location in the tcl script. (PATH is part of Unix,
> so if
> > you're not sure how it works, please consult a local Unix expert or
> search
> > the web on "unix PATH".)
> > But I'm trying to add my nam directory to environment variable path and
> I
> > receive the following error message: file or directory don't exists (I'm
> > typing PATH:$PATH:my nam directory).
> > Could you help me?
> > It's very important for me to solve this problem.
> > Other thing, how can I find/modify the .bashrc file? I'm searching it in
> the
> > etc directory but I can't find it.
> >
> > Thanks in advance.
> >
>
>

Reply via email to