[CentOS] nash on centos 5.2

Spiro Harvey, Knossos Networks Ltd spiro at knossos.net.nz
Tue Aug 19 23:46:38 UTC 2008


> 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-1923                    www.knossos.net.nz



More information about the CentOS mailing list