showmount -e 192.168.1.20Lists exported NFS directories available on the target IP address.
Queries an NFS server’s mount daemon for exported directories and which clients may mount them.
sudo apt install nfs-commonshowmount -e nfs.example.localQueries the NFS exports of a target server defined by its hostname.
showmount -a 192.168.1.20Lists all active mount points in the format host:directory.
showmount --all 192.168.1.20Uses the long-form flag to display both client IP and mounted directory.
showmount 192.168.1.20Runs with default behavior (typically equivalent to -a or list clients) against the target.
showmount -e localhostChecks the local machine for its own NFS exports.
showmount -e 2001:db8::1Queries NFS exports from a target specified by an IPv6 address.
showmount -e 10.10.10.15Identifies potential entry points by listing accessible file shares on a specific target.
showmount -e internal-nfsVerifies that sensitive exports are not inadvertently exposed to the internal network.
showmount -a 10.10.10.15Reveals which IP addresses are currently connected to the compromised NFS server.
showmount --no-headers -e 192.168.1.20Suppresses header lines for easier parsing in scripts (if supported by version).
showmount -a nfs-primary.corpMaps the full relationship of clients to mounts on the primary corporate NFS server.
showmount -d backup-serverChecks specifically for directories actively in use on the backup server.
showmount -e db-server.localRetrieves the export list to determine allowed host subnets or wildcards.
showmount -a localhostAudits the local system to see all incoming NFS connections from the network.