how do you take one word from a file and change it to an absolute path? Basically I need to take one word from a unix file and change it to a absolute directory path in that file. The file name is httpd.conf. The path for that file is /home/Tina/apache/conf/httpd.conf. The line is ServerRoot "/usr". The "/usr" is what i need to change to /home/Tina/apache.
Tina@Irv-PC ~/apache/conf
$ cat httpd.conf
#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# Do not add a slash at the end of the directory path.
#
ServerRoot "/usr"
#
# DocumentRoot: The directory out of which you will serve your documents.
#
DocumentRoot "/Library/WebServer/Documents"
/usrand/home/Tina/apache/conf/httpd.confare absolute paths.