Code In Tech - The Ultimate World of Computer Technology

Saturday 12 May 2012

Shell script to count the number of users


SOURCE CODE:

echo “no of users:”
who | wc –l

OUTPUT:

no of users: 

No comments :

Post a Comment