getent passwd | awk -F: '$3 > 499 { print $1 }' | grep -v '$' > users Craig White spoke forth with the blessed manuscript: > 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 - PLUG-discuss@lists.plug.phoenix.az.us > To subscribe, unsubscribe, or to change you mail settings: > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss --------------------------------------------------- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change you mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss