is there any known isses with using sed with rsh
sed -n '/^ passwd:/p' /etc/nsswitch.conf works ok locally but gives a
command garbled when
rsh host sed -n '/^ passwd:/p' /etc/nsswitch.conf
any ideas.
Thanks
SN
sed -n '/^ passwd:/p' /etc/nsswitch.conf works ok locally but gives a
command garbled when
rsh host sed -n '/^ passwd:/p' /etc/nsswitch.conf
any ideas.
Thanks
SN
> sed -n '/^ passwd:/p' /etc/nsswitch.conf works ok locally but gives a
> command garbled when
> rsh host sed -n '/^ passwd:/p' /etc/nsswitch.conf
The solution is adding an extra pair of quotes, e.g.,
rsh host "sed -n '/^ passwd:/p' /etc/nsswitch.conf"
--
Tapani Tarvainen
Hi,
Any comments on the setup of the Matrox Mystique, with Xfree86 would be
appreciated.
Cheers,
David Pearson
3. sed sed sed
5. . 2 sed FAQs, sed exes, sed cetras; URLs
8. Can't unmount /usr (device busy?!) in newer kernels...
9. (sed 1q ; sed 2q) : no output from 2nd 'sed'
10. TCP Wrapper / rsh problem (rsh hangs)
11. rsh localhost works, rsh by name doesn't
12. rsh does not return: rsh -n spica /etc/init.d/autofs start ?
13. How to tell difference between rsh and rsh command