Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Unix system user lookup

Posted on 2007-12-02
3
Medium Priority
?
332 Views
Last Modified: 2013-12-26
How can i count all the distinct users named Jane who are signed up on the system?? (unix)
0
Comment
Question by:axtur
  • 2
3 Comments
 
LVL 48

Accepted Solution

by:
Tintin earned 2000 total points
ID: 20392987
grep -ic jane /etc/passwd
0
 
LVL 48

Expert Comment

by:Tintin
ID: 20392989
The above assumes you aren't running NIS or LDAP.
0
 

Author Comment

by:axtur
ID: 20392996
It works just fine :)
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Make the most of your online learning experience.
Unable to change the program that handles the scan event from a network attached Canon/Brother printer/scanner. This means you'll always have to choose which program handles this action, e.g. ControlCenter4 (in the case of a Brother).
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Suggested Courses

963 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question