mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
34 lines
701 B
Plaintext
34 lines
701 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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]}}`
|