Command to get the running services on port in linux
netstat -lnp | grep :80
Start and stop the server on Linux
If you are using mysql on RedHat Linux (Fedora Core/Cent OS) then use following command:
* To start mysql server:
/etc/init.d/mysqld start
* To stop mysql server:
/etc/init.d/mysqld stop
* To restart mysql server
/etc/init.d/mysqld restart
No comments:
Post a Comment