Thursday, August 13, 2009

Ubuntu Start/Stop Apache2 server

If you find that port 80 is used, it is highly possible that Ubuntu has startup a Apache server. Use the following command to start/stop/restart it

/etc/init.d/apache2 start | stop | restart

No comments:

Post a Comment

Sed - Example guide

sed is a very useful stream editor to perform search and replace. Below are some useful tip 1. Usage sed 's/apple/orange/' file...