more stupid shell tricks

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Craig White
Date:  
To: plug-discuss
Subject: more stupid shell tricks
getent passwd | awk -F: '$3 > 499 { print $1 }' > users

gets me a list of all users...which is good. But I have some 'samba
machine accounts' which look like 'dell-4600c$' and I want to filter
them out of this command or file (I don't care if it's another step.

How would I delete the lines that have a '$' in them denoting a machine
account?

Craig

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss