Page 1 of 1

Users on your system

Posted: 04 May 2013, 09:06
by viking60
If you want to list the users on your system:

Code: Select all

awk -F: '/home/ && /bash/ {print $1,$3}' /etc/passwd