Is there a way we could put a timeout value for rsh in perl scripts. I've a script that runs an uptime on all the linux/solaris boxes and when the box is down it waits till the default timeout values.
THX
Try "rsh --help" or "man rsh" at a prompt and check your various command line parameters. It may be different on various *nix systems, but on FreeBSD, it's -t timeout.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.