Pages

Saturday, April 26, 2014

Bash script to get list of user account in unix server

            If you want to find how many users including system users are there in server,Below bash script will find user list from the server.After that you can sort it according to your need.To download script click here.



Code:

#!/bin/bash
/bin/cat /etc/passwd | /usr/bin/cut -d: -f1






No comments:

Post a Comment

Please give us suggestions.

Shell Script Code