how to restart apache server with out shatdown?

Answer Posted / vector

to restart apache. open the terminal and type the command
# sudo /etc/ini.d/apache2 start (to start apache)
# sudo /etc/init.d/apache2 restart (to restart apache)
# sudo /etc/init.d/apache2 stop (to stop apache)

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the command to see on which port which service is running? And what is the difference between /etc/services file and net stat command?

749


Explain about refer?

759


You suspect that you have two commands with the same name as the command is not producing the expected results. What command can you use to determine thelocation of the command being run?

742


Is cmake a compiler?

816


What is cpu in linux?

778


What is shell scripting commands?

809


What is make in linux?

771


You read an article that lists the following command: dd if=/dev/fdo bs=512 of=/new what does this accomplish?

817


What is the purpose output of cd command?

777


What is nbtstat command?

813


What does sh do in linux?

719


How do you create a text file in linux?

836


The head command writes the how many lines of a file to screen?

809


Explain about the command elm?

789


What is finger command in linux?

764