View Single Post
Posts: 230 | Thanked: 302 times | Joined on Oct 2009 @ Helsinki, Suomi (Finland)
#5
Originally Posted by Schturman View Post
I have a question.. Instead exiting with Pressing "Ctrl" + c how I can exit with command ?
Check the PID of the process with:
Code:
$ ps -Af | grep HTTP
and then kill it with:
Code:
$ kill [PID]
Or if you want to kill it with a oneliner:
Code:
$ pid=`pgrep -f HTTP`; kill $pid

Last edited by ladoga; 2013-01-01 at 19:00.
 

The Following User Says Thank You to ladoga For This Useful Post: