If you are ubuntu newbie, you probably didn't know how to start, stop, and restart a service on ubuntu, plus how to see the status of the service itself. Don't worry, i'm here to help you with that.
There is a command line tool for start, stop, restart, and also showing the status of a service, the tool is called 'service' and you need to run it with 'sudo' command.
A service is a program that runs on the background process (people also called it 'daemon'), for example apache web server, nginx web server, mysql database server, elasticsearch server, and so on.
How to start a service on ubuntuExample :
How to stop a service on ubuntuExample:
How to restart a service on ubuntuExample :
How to show status of service on ubuntuExample:
Alternatively, you can also call directly the binary of the service/daemon itself, which usually stored on /etc/init.d/, this is what people used to do back in the old days.