1NFS-LS(1) nfs-ls: list servers, exports NFS-LS(1)
2
3
4
6 nfs-ls - Utility to list NFS servers, exports and directories
7
9 nfs-ls [ OPTIONS ] <NFS-URL>
10
11 nfs-ls [-R --recursive] [-s --summary] [-D --discovery] [-? --help]
12 [--usage]
13
15 nfs-ls is a utility to list NFS servers, exports or directories.
16
17 Example: List the content of a directory on the NFS server
18
19 $ nfs-ls nfs://127.0.0.1/data/tmp
20 -rwxrwxr-x 1 1000 1000 1190802 a.out
21 -rwxr-xr-x 1 1000 1000 13 foo123.copy
22 -rwxrwxrwx 1 1000 1000 8 foo123.writtenx
23
24
25
27 -s --summary
28 Print a summary line at the end of output.
29
30 -R --recursive
31 Recursive listing of the specified URL.
32
33 -D --discovery;
34 This option is used to discover local NFS servers and to list the
35 exports for specific servers.
36
37 When used with the 'nfs://' URL the command will try to detect all
38 local NFS servers and will list their IPs.
39
40 When used with a 'nfs://server' the command will list all the
41 exports on the specified server.
42
43 Example: Discover and list all local NFS servers
44
45 $ nfs-ls -D nfs://
46 nfs://10.10.10.10
47 nfs://10.0.0.10
48
49
50 Example: List the exports for a server
51
52 $ nfs-ls -D nfs://10.10.10.10
53 nfs://10.10.10.10/foo
54 nfs://10.10.10.10/bar
55
56
57
58 -? --help
59 Display basic help text.
60
61 --usage
62 Display basic usage text.
63
65 http://github.com/sahlberg/libnfs
66
67
68
69nfs-ls 05/24/2015 NFS-LS(1)