Also, to quote jnsimpson
Quote:
...you will find a lot of dorks that like to do things the hard way. However, if you want basics, just stick with using 'more /etc/passwd'.
The "hard" way is the
correct way.
awk -F: '{ print $1 }' /etc/passwd shows, as the Original Poster requested, all user accounts.
more /etc/passwd just shows the entire passwd file, a superset of the required information.
Just a note too... with NIS
ypcat passwd | awk -F: '{print $1}'
Cheers
ZB