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

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

Reply via email to