Results 1 to 1 of 1
hi all,
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 ...
- 04-04-2009 #1Just Joined!
- Join Date
- Feb 2009
- Posts
- 5
Grep the comment field of /etc/passwd entry
hi all,
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!
Kris


Reply With Quote