[CentOS] show all groups comand

Wed Mar 5 17:51:42 UTC 2008
Stephen Harris <lists at spuddy.org>

On Wed, Mar 05, 2008 at 09:47:08AM -0800, Hiep Nguyen wrote:
> hi all,
> 
> how do i find out all users & groups existing on the system from command 
> line?

getent passwd
getent group

-- 

rgds
Stephen