1projects(1)                      User Commands                     projects(1)
2
3
4

NAME

6       projects - print project membership of user
7

SYNOPSIS

9       projects [-dv] [ user]
10
11
12       projects -l [projectname [projectname]...]
13
14

DESCRIPTION

16       The  projects  command  prints on standard output the projects to which
17       the invoking user or an optionally specified user  belongs.  Each  user
18       belongs  to  some  set of projects specified in the project(4) file and
19       possibly in the associated NIS maps  and  LDAP  databases  for  project
20       information.
21

OPTIONS

23       The following options are supported:
24
25       -d    Prints only default project.
26
27
28       -l    Prints  verbose  info on each project projectname. If no project‐
29             names are given, info on all projects is printed.
30
31
32       -v    Prints project descriptions along with project names.
33
34

OPERANDS

36       The following operand is supported:
37
38       projectname    Display information for the specified project.
39
40
41       user           Displays project memberships for the specified user.
42
43

EXAMPLES

45       Example 1 Displaying Membership for a Specified User
46
47         example$ projects paul
48         default beatles wings
49         example$ projects ringo
50         default beatles
51         example$ projects -d paul
52         beatles
53
54
55

EXIT STATUS

57       The following exit values are returned:
58
59       0     Successful completion.
60
61
62       1     A fatal error occurred during execution.
63
64
65       2     Invalid command line options were specified.
66
67

FILES

69       /etc/project    Local database containing valid project definitions for
70                       this machine.
71
72

ATTRIBUTES

74       See attributes(5) for a description of the following attributes:
75
76
77
78
79       ┌─────────────────────────────┬─────────────────────────────┐
80       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
81       ├─────────────────────────────┼─────────────────────────────┤
82       │Availability                 │SUNWcsu                      │
83       │Stability                    │See below.                   │
84       └─────────────────────────────┴─────────────────────────────┘
85
86
87       The invocation is Evolving. The human-readable output is Unstable.
88

SEE ALSO

90       getdefaultproj(3PROJECT),       getprojent(3PROJECT),       project(4),
91       attributes(5)
92
93
94
95SunOS 5.11                        13 May 2004                      projects(1)
Impressum