![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | 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 to view symbol table in unix | saravanan_nitt | High Level Programming | 1 | 02-13-2008 09:02 PM |
| How to view ps and pdf file under unix | vicky20000 | UNIX for Dummies Questions & Answers | 2 | 01-08-2004 07:47 PM |
| Unix code - how to view? What is it? | peter.herlihy | UNIX for Dummies Questions & Answers | 2 | 08-23-2002 06:56 PM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi,
Im newbie here and in unix as well. How can i view users in unix? Im viewed them in shadow file (i typed: vi /etc/shadow) but some unix (im confused if its unix or linux or bsd, but i think it has a little thing in common or differnce) has no shadow file?! What must i do to view the users list??? Pls help me! Thanks! Your response is greatly appreciated! |
| Forum Sponsor | ||
|
|
|
|||
|
You can also use awk.
Code:
awk -F: '{ print $1 }' /etc/passwd
Code:
awk -F: '{ print $3 }' /etc/passwd
|
|||
| Google UNIX.COM |