1
00:00:06,820 --> 00:00:10,580
So once again we're at the end of the
lesson. Let's talk about the commands that we have seen.

2
00:00:11,119 --> 00:00:12,839
It's all
systemctl Commands.

3
00:00:13,349 --> 00:00:16,469
Systemctl Start is what you
would use to start a unit.

4
00:00:17,149 --> 00:00:21,030
Status is how you find
current status information about the unit.

5
00:00:21,850 --> 00:00:28,275
Systemctl Restart that's what you use if you change the
unit configuration that is not the unit fail, but the configuration

6
00:00:28,275 --> 00:00:34,700
that determines how your unit is doing its work. Then
you need to restart it so that it's picked up.

7
00:00:35,619 --> 00:00:39,575
Stop will stop it. Enable will flag
it for automatic start while booting and

8
00:00:39,575 --> 00:00:43,530
disable will make sure that you don't
get it back when you are booting.

9
00:00:44,170 --> 00:00:47,609
Systemctl List Units is
showing all units currently loaded.

10
00:00:48,229 --> 00:00:55,159
Getdefault and setdefault is for setting
and getting the current default target.

11
00:00:56,460 --> 00:01:02,320
We have seen systemctl cat, which is
the recommended way to concatenate the unit configuration.

12
00:01:02,820 --> 00:01:09,530
And systemctl show is what you use to show
all parameters that are available to tweak your unit.

13
00:01:10,209 --> 00:01:15,319
Systemctl Edit is bringing your systemd
editor and systemctl Daemon Reload on occasion

14
00:01:15,319 --> 00:01:20,429
is needed if you tweak unit
configuration files directly without using systemctl Edit,

15
00:01:20,430 --> 00:01:25,540
which is something by the
way, that you shouldn't be doing.

16
00:01:26,579 --> 00:01:32,045
Systemctl Isolate is how you can get
from a target that is offering more

17
00:01:32,045 --> 00:01:37,510
to a target that is offering less
because you need services to be removed.

18
00:01:38,170 --> 00:01:44,480
And systemctl List Dependencies is a nice way
to get an overview of all the different dependencies.

19
00:01:45,620 --> 00:01:52,575
And finally, we have seen the service command that's for
WSL and other systems that don't use systemd. Service SSH

20
00:01:52,575 --> 00:01:59,530
status and service SSH Start is how you can
get the status and how you can start the service.
