![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do you set up an FTP user account? | XZOR | UNIX for Dummies Questions & Answers | 3 | 09-29-2008 12:06 AM |
| HMC User account expired - What now? | backslash | AIX | 0 | 05-31-2006 02:14 PM |
| user account | chomca | Post Here to Contact Site Administrators and Moderators | 1 | 05-22-2006 09:41 AM |
| Locked out of Mandrake 9.1 user account | alarmcall | Linux | 5 | 06-26-2004 10:38 AM |
| creatin user account | damian | UNIX for Dummies Questions & Answers | 1 | 08-01-2001 07:53 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
show all user account
I have a question about show all create user account. What commend do that
thank`s for your help |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Code:
awk -F: '{ print $1 }' /etc/passwd
|
|
#3
|
|||
|
|||
|
re: show all user account
you can also just do this:
more /etc/passwd ...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'. jnsimpson02 |
|
#4
|
||||
|
||||
|
Quote:
(1) No flames, shouting (all caps), sarcasm, bullying, profanity or arrogant posts. |
|
#5
|
|||
|
|||
|
OK thx evryone
|
|
#6
|
||||
|
||||
|
Also, to quote jnsimpson
Quote:
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 |
|
#7
|
|||
|
|||
|
cat /etc/passwd | awk -F: '{ print $1 }'
Me-Owwwww |
|||
| Google The UNIX and Linux Forums |