2049-NFS

For Basic :

cat /etc/exports 

sudo nmap 10.129.14.128 -p111,2049 -sV -sC

//contents of the share and its stats
sudo nmap --script nfs* 10.129.14.128 -sV -p111,2049

--script=nsf-showmount

Mount NFS

//Show Available NFS Shares
showmount -e 10.129.14.128              //alternative apt install nfs-common

//Mounting NFS Share
mkdir target-NFS
sudo mount -t nfs 10.129.14.128:/ ./target-NFS/ -o nolock
cd target-NFS
tree .


//List Contents with Usernames & Group Names
ls -l mnt/nfs/

//List Contents with UIDs & GUIDs
ls -n mnt/nfs/

//Unmounting
sudo umount ./target-NFS

Last updated