Network

The showmount command

Shows which directories an NFS server is exporting (-e to list them).

Syntax

showmount -e <host>Try it in the terminal →

Most useful options

-eList the exports

Copy-ready examples

$ sudo systemctl start nfs-serverStart NFS
$ showmount -e localhostSee the exports

You can try them in the browser terminal: it does not touch your computer.

Typical mistakes

  • It needs the nfs-server service to be active.

Related commands

FAQ

What does showmount show?

The NFS shares a server exports.

An example?

showmount -e server.

Learn to actually use it

The basic Linux course takes you from zero to console fluency with 24 self-grading lessons.

Start the free course