At 09:32 PM 3/6/2003 +0530, Shridhar Daithankar<[EMAIL PROTECTED]> wrote:
On Thursday 06 Mar 2003 10:03 pm, nimish wrote:
> What is the command for listing out all the users in linux

cat /etc/passwd |cut -d":" -f1|grep -v ^#

That'll get you assorted system users (nobody, root, mail, daemon etc)


Try this -

# awk -F: '$3 > 100 { print $1 }' /etc/passwd

srs



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to