Howdy!
I'm trying to write a Korn shell script to get a count of all users who, by default, are using /bin/sh. I'm getting this info via the etc/passwd file so if the last field of this file is blank then it's assumed they are also using /bin/sh.
It's a simple one line script (awk not needed)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.