http://www.perlmonks.org?node_id=609370


in reply to Re: Check if home dir is mounted?
in thread Check if home dir is mounted?

Hi,

Thanks for the replies. Previously, the last line of my code was this:-

$Launch = system ("rsh $BestHost");

...where $BestHost was derived earlier. Now, however, I am just going to do this:-

$Launch = system ("rsh $BestHost \"cd ~$user\"");

...and if I detect a "not found", I will move to the next best machine name.

Thanks for all the replies!

Kind Regards,

Kehliah