Displays the characteristics of directories that are exported with the Network File System (NFS).
The lsnfsexp command displays the characteristics of NFS-exported directories. The Directory parameter specifies the directory to be displayed. If no directory is specified, all directories exported with NFS will be displayed.
Item | Description |
---|---|
-c | Specifies that the output should be in colon format. |
-l | (Lowercase L) Specifies that the output should be in list format. This flag is the default. |
Directory | Specifies the directory to be displayed. If no directory is specified, all directories exported with NFS will be displayed. |
-f Exports_file | Specifies the full path name of the export file to use if other than /etc/exports. |
-V Exported Version | Specifies the version of the directory to be displayed. Valid version numbers are 2, 3 and 4. |
lsnfsexp -c
lsnfsexp -c -f /etc/exports.other
lsnfsexp /common/documents -V 4
Item | Description |
---|---|
/etc/exports | Lists the directories the server can export. |