Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Feb 2009
Grep the comment field of /etc/passwd entry
this post is related to my previous one. In my script, I have to display ONLY the comment field in the /etc/passwd entry for a specific user. So I'm guessing you would have to use the grep command to do this, but how exactly can you just grep the comment from this entry? I am having troubles accomplishing this. help is appreciated! thanks!