# NFS (111,2049)

#### Scanning using NMAP

```bash
sudo nmap 10.129.14.128 -p111,2049 -sV -sC
```

#### Getting the contents using NMAP

```bash
sudo nmap --script nfs* 10.129.14.128 -sV -p111,2049
```

#### Show available NFS shares

```bash
showmount -e 10.129.14.128
```

#### Mounting NFS share

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

#### Unmounting the NFS share

```bash
sudo umount ./target-NFS
```
