[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 3


lsnfsexp Command

Purpose

Displays the characteristics of directories that are exported with the Network File System (NFS).

Syntax

/usr/sbin/lsnfsexp [ -c | -l ] [ Directory ] [ -f Exports_file ]

Description

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.

Flags


-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.

Examples

  1. To list all of the directories currently exported with NFS in the colon format, enter:

    lsnfsexp -c
    
  2. To list all of the directories currently exported with NFS in the colon format and use a specified path name other than /etc/exports enter:

    lsnfsexp -c -f /etc/exports.other
    

File


/etc/exports Lists the directories the server can export.

Related Information

The chnfsexp command, exportfs command, mknfsexp command, rmnfsexp command, smit command.

Network File System (NFS) Overview for System Management in AIX 5L Version 5.1 System Management Guide: Communications and Networks.

Network Information Services (NIS) Overview for System Management in AIX 5L Version 5.1 Network Information Services (NIS and NIS+) Guide.

NIS Reference in AIX 5L Version 5.1 Network Information Services (NIS and NIS+) Guide.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]