You are not logged in.
Pages: 1
Hi All,
I'm setting up my Laptop to auto-mount an NFS Share point only if the computer can be found.
so is there a bash command that i can use to see if an ip address is active?
Thanks
Matthew
"is adult entertainment killing our children or is killing our children entertaining adults?" Marilyn Manson
Offline
one way would be to ping the server in question. but I don't know if there is a way to use it in scripts. And it is probably better to use netcat anyway. Maybe something like this:
nc -z <address> <port> && <command if port is open>
Offline
Hi,
This may help with setting up your fstab: http://kmandla.wordpress.com/2008/03/17 … istro-nfs/.
Offline
Pages: 1