HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

showmount — Display mount information for an NFS server. More information: <https://manned.org/showmount>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandshowmountnfscliinformationmountfordisplay

Problem

How to use the showmount command: Display mount information for an NFS server. More information: <https://manned.org/showmount>.

Solution

showmount — Display mount information for an NFS server. More information: <https://manned.org/showmount>.

Show clients currently mounting from the server:
showmount {{hostname}}


Show the NFS server's export list:
showmount {{[-e|--exports]}} {{hostname}}


Show all clients and their mounted directories:
showmount {{[-a|--all]}} {{hostname}}


Show only the directories mounted by clients:
showmount {{[-d|--directories]}} {{hostname}}


Show the export list without headers:
showmount {{[-e|--exports]}} --no-headers {{hostname}}


Display help:
showmount {{[-h|--help]}}

Code Snippets

Show clients currently mounting from the server

showmount {{hostname}}

Show the NFS server's export list

showmount {{[-e|--exports]}} {{hostname}}

Show all clients and their mounted directories

showmount {{[-a|--all]}} {{hostname}}

Show only the directories mounted by clients

showmount {{[-d|--directories]}} {{hostname}}

Show the export list without headers

showmount {{[-e|--exports]}} --no-headers {{hostname}}

Context

tldr-pages: common/showmount

Revisions (0)

No revisions yet.