Network
The showmount command
Shows which directories an NFS server is exporting (-e to list them).
Most useful options
-eList the exportsCopy-ready examples
$ sudo systemctl start nfs-serverStart NFS$ showmount -e localhostSee the exportsYou can try them in the browser terminal: it does not touch your computer.
Typical mistakes
- It needs the nfs-server service to be active.
FAQ
What does showmount show?
The NFS shares a server exports.
An example?
showmount -e server.
More Network commands
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