Forrest logo
back to the showmount tool

showmount:tldr:04ce3

showmount: Display all exported filesystems for a remote server.
$ showmount -e ${server_address}
try on your machine

The command "showmount -e ${server_address}" is used to display the list of exported file systems available on a Network File System (NFS) server.

Let's break down the command:

  • "showmount" is the command itself, which is used to query the NFS server for exported file systems.
  • "-e" is an option for the "showmount" command, which specifies that it is an export display.
  • "${server_address}" is a placeholder for the actual IP address or hostname of the NFS server. You need to replace "${server_address}" with the appropriate server address.

When the command is executed, it connects to the specified NFS server and requests information about the exported file systems on that server. The server responds by providing a list of exported directories along with information such as the access permissions and the hostnames or IP addresses of the clients allowed to access the exports.

This command is useful for client machines that want to access files from an NFS server because it helps them identify which directories are available for mounting.

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