1nisls(1) User Commands nisls(1)
2
3
4
6 nisls - list the contents of a NIS+ directory
7
9 nisls [-dglLmMR] [name]...
10
11
13 For each name that is a NIS+ directory, nisls lists the contents of the
14 directory. For each name that is a NIS+ object other than a directory,
15 nisls simply echos the name. If no name is specified, the first direc‐
16 tory in the search path is listed. See nisdefaults(1).
17
19 The following options are supported:
20
21 -d Treat NIS+ directories like other NIS+ objects, rather than
22 listing their contents.
23
24
25 -g Display group owner instead of owner when listing in long format.
26
27
28 -l List in long format. This option displays additional information
29 about the objects such as their type, creation time, owner, and
30 access rights.
31
32 The access rights are listed in the following order in long mode:
33 nobody, owner, group owner, and world.
34
35
36 -L This option specifies that links are to be followed. If name
37 actually points to a link, it is followed to the linked object.
38
39
40 -m Display modification time instead of creation time when listing
41 in long format.
42
43
44 -M Master only. This specifies that information is to be returned
45 from the master server of the named object. This guarantees that
46 the most up to date information is seen at the possible expense
47 that the master server may be busy.
48
49
50 -R List directories recursively. This option will reiterate the list
51 for each subdirectory found in the process of listing each name.
52
53
55 NIS_PATH If this variable is set, and the NIS+ name is not fully
56 qualified, each directory specified will be searched until
57 the object is found. See nisdefaults(1).
58
59
61 The following exit values are returned:
62
63 0 Successful operation.
64
65
66 1 Operation failed.
67
68
70 See attributes(5) for descriptions of the following attributes:
71
72
73
74
75 ┌─────────────────────────────┬─────────────────────────────┐
76 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
77 ├─────────────────────────────┼─────────────────────────────┤
78 │Availability │SUNWnisu │
79 └─────────────────────────────┴─────────────────────────────┘
80
82 nisdefaults(1), nisgrpadm(1), nismatch(1), nistbladm(1),
83 nis_objects(3NSL), attributes(5)
84
86 NIS+ might not be supported in future releases of the Solaris operating
87 system. Tools to aid the migration from NIS+ to LDAP are available in
88 the current Solaris release. For more information, visit
89 http://www.sun.com/directory/nisplus/transition.html.
90
91
92
93SunOS 5.11 2 Dec 2005 nisls(1)