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
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.
Hi,
On Tue, Aug 19, 2008 at 19:34, Jerry Geis geisj@pagestation.com 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