more stupid shell tricks

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Craig White
Dato:  
Til: plug-discuss
Emne: 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