So once again we're at the end of the lesson. Let's talk about the commands that we have seen.
It's all systemctl Commands.
Systemctl Start is what you would use to start a unit.
Status is how you find current status information about the unit.
Systemctl Restart that's what you use if you change the unit configuration that is not the unit fail, but the configuration
that determines how your unit is doing its work. Then you need to restart it so that it's picked up.
Stop will stop it. Enable will flag it for automatic start while booting and
disable will make sure that you don't get it back when you are booting.
Systemctl List Units is showing all units currently loaded.
Getdefault and setdefault is for setting and getting the current default target.
We have seen systemctl cat, which is the recommended way to concatenate the unit configuration.
And systemctl show is what you use to show all parameters that are available to tweak your unit.
Systemctl Edit is bringing your systemd editor and systemctl Daemon Reload on occasion
is needed if you tweak unit configuration files directly without using systemctl Edit,
which is something by the way, that you shouldn't be doing.
Systemctl Isolate is how you can get from a target that is offering more
to a target that is offering less because you need services to be removed.
And systemctl List Dependencies is a nice way to get an overview of all the different dependencies.
And finally, we have seen the service command that's for WSL and other systems that don't use systemd. Service SSH
status and service SSH Start is how you can get the status and how you can start the service.