The below mentioned code is not working properly (centos 7/bash file code):
#!/bin/bash cat /etc/passwd | egrep -v \'^(root|halt|sync|shutdown)\' | awk -F: \'($7 != "