Re: [CentOS] nash on centos 5.2

2008-08-19 Thread Filipe Brandenburger
Hi,

On Tue, Aug 19, 2008 at 19:34, Jerry Geis <[EMAIL PROTECTED]> wrote:
> ln -sf /sbin/nash sleep
> sleep 5

I think you are mixing up "nash" and "busybox". They are not the same thing.

HTH,
Filipe
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] nash on centos 5.2

2008-08-19 Thread Spiro Harvey, Knossos Networks Ltd

ln -sf /sbin/nash sleep
sleep 5
nash cannot open 5: no such file or directory
Why doesnt that work?


for the same reason that running "nash 5" won't work.

the first parameter of nash is expected to be a script name.

if you want to feed "sleep 5" into nash, you would give:

sleep 5 | /sbin/nash


"man nash" is your friend.

--
Spiro Harvey  Knossos Networks Ltd
021-295-1923www.knossos.net.nz

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] nash on centos 5.2

2008-08-19 Thread Jerry Geis

I am trying to use nash on centos 5.2


to demonstrate the problem I did:

cd /sbin
ln -sf /sbin/nash sleep
export PATH=/sbin:$PATH
sleep 5
and I get an error.

Red Hat nash version  5.1.19.6 starting
nash cannot open 5: no such file or directory

Why doesnt that work?

Thanks,

Jerry
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos