I'm looking for a command to stop all services running and probably restart them after.
Any help would be appreciated.
Ubuntu – How to stop all services
services
services
I'm looking for a command to stop all services running and probably restart them after.
Any help would be appreciated.
Best Answer
assuming you are using ubuntu 16.04 you can use systemctl to control services.
to get a list of services and their status
to control an individual service , replace service with the service name
in older version of ubuntu services can be controlled via init scripts which live in /etc/init.d , these work in a similar way
to get a list of services
to contrl and individual service