Search Results

Search: Posts Made By: sewdan
Forum: Linux 04-29-2009
77,231
Posted By sewdan
To explain my previous post, groups user ...
To explain my previous post,
groups user
will display the groups of a single user.

Using the awk command from the last posting will run groups for each user found in the /etc/passwd file. ...
Forum: Linux 04-29-2009
77,231
Posted By sewdan
I'm no linux expert, but this is will accomplish...
I'm no linux expert, but this is will accomplish what you are looking for. You must include the back ticks around the command.

`awk -F":" '{ print "groups " $1 }' /etc/passwd ` 2>nul

I don't...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 04:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy