OK, PATH=$PATH:. worked.

I set a variable in that script:

IPADDR=`/sbin/ifconfig eth1 | grep "inet addr:" | cut -f2 -d: | cut -f1
-d" "`

How can I check if this variable got assigned the proper value?

Many tanks for your help,

Jo


Bernhard Rosenkraenzer wrote:
> 
> On Sat, 7 Aug 1999, Jo wrote:
> 
> > [root@host jd]# ls -al rc_fi
> > -rwxrwxr-x   1 root     root        30090 Aug  7 02:47 rc_fi
> > [root@host jd]# rc_fi
> > bash: rc_fi: command not found
> 
> The current directory is by default not in the PATH.
> Either do ./rc_fi, or do export PATH=$PATH:. before running rc_fi.
> 
> LLaP
> bero
> 
> --
> Tired of waiting for Windows 2000?
>         STOP WAITING! http://www.ms-windows-2000.com/

Reply via email to