bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13738: Add --all option to 'users' command


From: anatoly techtonik
Subject: bug#13738: Add --all option to 'users' command
Date: Mon, 18 Feb 2013 10:46:16 +0300

On Mon, Feb 18, 2013 at 8:48 AM, Bob Proulx <address@hidden> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]