how to check shell for all users code example Example: list all users linux awk -F: '{ print $1}' /etc/passwd