Hi Expert,
How do I want to id -a multiple users at one time?
- i know that this does not work,
Thanks
Hi Expert,
How do I want to id -a multiple users at one time?
Thanks
this might help..
% finger | awk ' { print "id -a "$1 } ' | grep -vi login | sh
echo user1 user2 | xargs -n1 id
you guys are genius!
put the userslist in a.txt
while read user; do id -a $user; done < a.txt