Skip to content

Instantly share code, notes, and snippets.

@oclockvn
Created August 4, 2019 11:14
Show Gist options
  • Save oclockvn/cb566473babad94d849b0421470e1512 to your computer and use it in GitHub Desktop.
Save oclockvn/cb566473babad94d849b0421470e1512 to your computer and use it in GitHub Desktop.
ubuntu service

Ubuntu service

  1. list all services
service --status-all
  1. to start a service
service %service_name% start

for example:

service mysql start

to access to mysql service:

mysql -p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment