Write a sed command that will change the ServerRoot value from /usr to the absolute directory patch for your apache directory. Write a sed command that will change the Document value from /Library/WebServer/Documents to the absolute directory patch for your www directory.
Write an awk command that will print only the comment field and the login id of all users in the /etc/passwd file in this format: <Comment Field> - <login id>. can any one help me with this
This link shows you how to process the /etc/passwd file using awk: http://www.computing.net/answers/so...
This link shows basic sed syntax for replacing text:
http://www.computing.net/answers/un...
Make an effort, post code, and ask specific questions and I'll help.