Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!crdgw1!uakari.primate.wisc.edu!aplcen!wb3ffv!fallst!tkevans From: tkevans@fallst.UUCP (Tim Evans) Newsgroups: comp.protocols.tcp-ip Subject: Re: Testing if a host is up Message-ID: <1917@fallst.UUCP> Date: 17 Feb 91 13:09:37 GMT References: <529@trux.UUCP> Organization: Fallston, MD Lines: 20 In emv@ox.com (Ed Vielmetti) writes: >In article <529@trux.UUCP> car@trux.UUCP (Chris Rende) writes: > I need a way to put a test ahead of the FTP that will determine whether > or not the other host is "up". >Just an observation -- just because a host answers pings doesn't >necessarily mean it's up. Assuming you have appropriate /etc/hosts.equiv and/or .rhosts set up, you could 'rsh' something like /bin/echo on the remote: if rsh remote [ -l user ] /bin/echo > /dev/null then whatever fi -- UUCP: {rutgers|ames|uunet}!mimsy!woodb!fallst!tkevans INTERNET: tkevans%fallst@wb3ffv.ampr.org Tim Evans 2201 Brookhaven Ct, Fallston, MD 21047