Forrest logo
back to the showmount tool

showmount:tldr:55fb6

showmount: Display all exported filesystems.
$ showmount -e
try on your machine

The command "showmount -e" is used in Linux/Unix systems to display the list of exported NFS (Network File System) shares on a remote server.

Here's a breakdown of the command:

  • "showmount": This is the command itself, used to display information about NFS mounts.
  • "-e" or "--exports": This is an option or a flag that specifies to show the list of exported NFS shares.

When you run the "showmount -e" command followed by the hostname or IP address of a remote server, it queries that server's NFS daemon (rpc.mountd) and retrieves a list of directories or file systems that are currently being exported over NFS.

The output will typically include the following columns:

  • Export list: This column displays the directories or file systems that are being shared/exported.
  • NFSv3 options: This column shows any numeric options set for the shared exports.
  • NFSv4 options: This column displays any options set for NFSv4 exports.

This command is helpful for administrators or users who want to verify the NFS shares available on a remote server and access them from their own system.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the showmount tool