[LBo] How to let the system display number of users and groups?

Tim Cruikshank linux.debian.user at gmail.com
Fri Nov 3 16:53:02 CET 2006


On November 3, 2006 09:53, Jan wrote:
> Hello class,
>
> I don't seem to be able to solve two of the questions regarding Chapter 3.
> How to let the system display the number of users and groups defined on the
> system?
>
> I tried /etc/passwd and /etc/group, but that seems to be the wrong
> approach.
>
> Can somebody please assist me on that? I am using SUSE 10.1.
>
> Thanks!
>
> Jan

This is supposed to be a learning exercise, so I'll start with just a hint. 
Try checking the manpage of cat, or cat --help.

-- 
Tim Cruikshank <linux.debian.user at gmail.com>
Linux User #246684


More information about the QnA mailing list