I'm attempting to write a script to identify users who have sudo access on a server. I only want to extract the ID's of the sudo users after a unique line of text. The list of sudo users goes to the EOF so I only need the script to start after the unique line of text. I already have a script to eliminate the fields I don't need.
Thanks,
Brian
---------- Post updated at 01:53 PM ---------- Previous update was at 01:31 PM ----------
I figured it out what I was looking for
awk '/pattern/,0'