> For the complete documentation index, see [llms.txt](https://wiki.smhuda.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.smhuda.com/pentesting/infrastructure-security/network-infrastructure/mounting-nfs-shares.md).

# Mounting NFS Shares

### How Do I Find Out Shared Directories?

```
$ showmount -e nas01
$ showmount -e nfs-server-ip-address-here
$ showmount -e nas01.lan.nixcraft.net.in
```

### Mac OS X NFS mount Command

```
$ sudo mkdir /private/nfs
```

```
$ sudo mount -t nfs 192.168.3.1:/mp3 /private/nfs
```

#### Tip: Operation not permitted Error

Try to mount it as follows with -o **resvport** command:

```
$ sudo mount -t nfs -o resvport 192.168.3.1:/mp3 /private/nfs
```

OR mount an NFS in read/write mode, enter:

```
$ sudo mount -t nfs -o resvport,rw 192.168.3.1:/mp3 /private/nfs
```
