Write a linux shell program to perform find the number of users who have logged in
Find the number of users who have logged in
Code:
clear 
echo ----------------- 
echo '\tLogin' 
echo ----------------- 
echo The number of  users loggin in are 
who | wc -l
Output:
----------------- 
 Login 
----------------- 
The number of users loggin in are 
3 
nice attempt
ReplyDeleteuseful to the linux beginners
Thank u visit for website
Delete