Users on your system
Posted: 04 May 2013, 09:06
If you want to list the users on your system:
Code: Select all
awk -F: '/home/ && /bash/ {print $1,$3}' /etc/passwdCode: Select all
awk -F: '/home/ && /bash/ {print $1,$3}' /etc/passwd