//View Tip #499
Similar Tips
» Count files by type v2
» Get your machines IP adress
» Filter stderr for cron jobs
» iso2cd
» Moved Trac and Subversion repositories to another machine/direct

 

Latest tips by RSS
Click here to subscribe
Follow Shell-Fu on Twitter
Click here to follow
Follow Shell-Fu on identi.ca
Click here to follow
The line below will give you the real names of the users currently logged in:

grep -f <(w -h|awk '{print $1}') <(getent passwd) | awk -F":" '{print $5}'


View Comments »




Comments 

Add your comment

Comments are currently disabled
No Comments

Home Latest Browse Top 25 Random Hall Of Fame Contact Submit