I have NO idea how portable this is, whether it would work in an environment other than my own, etc... So - give it a try, let me know if you found some place it would not work and how you fixed it. This is a HACK. Someone could do this with Perl/Python/etc... and make lightwork of the problem. That was not a possible solution for what I was trying to do. So - I would like to automate a job to take the users who belong to a particular netgroup and apply filesystem quotas to those users. Unfortunately, the output from a getent command is a bit difficult to simply parse. I am going to create a file with the output of the getent command (not necessary) [jradtke@cypher BashFoo]$ getent netgroup sysadmin > netgroup.sysadmin sysadmin ( , jradtke, ) ( , usern1, ) ( , dilbert, ) Remove the name of the netgroup itself from my query [jradtke@cypher BashFoo]$ cat netgroup.sysa...
Linux: The whole world made it for you... This blog is a collection of things I come across either at home or at work as a Linux Administrator. I have worked as an Admin working with Solaris, SAN, Backups and Linux at the Enterprise level for over 16 years.