Re: nash on centos 5.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux