showmount how to find a nfs server?

poma pomidorabelisima at gmail.com
Mon May 6 12:40:27 UTC 2013


On 06.05.2013 10:58, Ed Greshko wrote:

> I suppose you could always do something like this.....  But it will take a fair amount of time....
> 
> for i in `seq 1 254`; do echo Address 10.10.156.${i}; /sbin/showmount -e 10.10.156.${i}; done;

time nmap -n --open -T5 -p 2049 192.168.1.* | grep report
Nmap scan report for 192.168.1.1

real	0m1.970s  :)
…

1st&only:
nmap -n --open -T5 -p 2049 192.168.1.* | awk '{print $5}' | showmount -e


poma




More information about the users mailing list