If you are looking for software to use, go to Huajun Software Park! software release

How to use showmount command in Linux system

Author:Neal Date: 2017-05-23

The following is an introduction to how to use the showmount command in Linux. The showmount command allows users to display NFS information, such as version, NFS client, output directory list and other information.

 How to use showmount command in Linux system

usage:

The showmount command is used to query related information of the NFS server.

# showmount --help

Usage: showmount [-adehv]

[--all] [--directories] [--exports]

[--no-headers] [--help] [--version] [host]

-a or --all

Display the client hostname and mount point directory in the format host:dir.

-d or --directories

Only the directory names mounted by the customer are displayed.

-e or --exports

Display the output listing of the NFS server.

-h or --help

Display help information.

-v or --version

Show version letter.

--no-headers

Disable the output of description header information.

Display NFS client information

#showmount

Display information about the specified NFS server connecting to the NFS client.

# showmount 192.168.1.1 #This IP is for the nfs server

Show output directory list

# showmount -e

Display the specified NFS server output directory list (also called shared directory list)

# showmount -e 192.168.1.1

Show mounted shared directories

# showmount -d

Display client information and shared directories

# showmount -a

Display client information and shared directories of the specified NFS server

# showmount -a 192.168.1.1

  

Related articles