On Mon, Feb 18, 2013 at 8:48 AM, Bob Proulx <b...@proulx.com> wrote: > tag 13738 + moreinfo > thanks > > anatoly techtonik wrote: > > The 'users' command shows users who are currently online. It will be nice > > to have --all option to show all users. > > Do you mean the equivelent to this? > > $ getent passwd | awk -F: '{print$1}' >
Yes. And also - the equivalent of this as it appeared more useful: $ cut -d: -f1,3 /etc/passwd | egrep ':[0-9]{4}$' | cut -d: -f1 http://askubuntu.com/questions/257421/list-all-human-users/257451 -- anatoly t.