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

Commands Reference, Volume 2

dispuid Command

Purpose

Displays a list of all valid user names.

Syntax

dispuid

Description

This command can be used to display a list of all user names on the system (one line per name). There are no parameters for this command. The following files are accessed in read-only mode to retrieve the user data:

Exit Status

0
The command completed successfully.
>0
An error occurred.

Examples

  1. To list all the valid users in your machine enter the dispuid command as follows:
    dispuid
    The output looks similar to the following:
    root 
    daemon 
    bin 
    sys 
    adm 
    uucp 
    guest 
    nobody 
    lpd 
    invscout 
    imnadm 
    user1

Files

/usr/sbin/dispuid Contains the dispuid command.
/etc/passwd Contains password information.

Related Information

the dispgid command, lsuser command.

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