//View Tip #499
Similar Tips
» Sort a file by line length
» Check memory and swap from command line
» Get an ordered list of subdirectory sizes
» See your favorite commands
» List only the files that have been updated today.

 

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