1 00:00:07,320 --> 00:00:08,490 - All right. 2 00:00:08,490 --> 00:00:11,970 I could make the command review pretty easy this time. 3 00:00:11,970 --> 00:00:15,360 Systemctl is basically the only command that we've seen, 4 00:00:15,360 --> 00:00:17,250 but it's really about a sub command, 5 00:00:17,250 --> 00:00:19,090 so let me go over them again. 6 00:00:19,090 --> 00:00:22,050 Systemctl start to start a unit file. 7 00:00:22,050 --> 00:00:25,110 Status to figure out what the unit is doing. 8 00:00:25,110 --> 00:00:26,700 Early start to restart it, 9 00:00:26,700 --> 00:00:29,790 which is necessary if you have changed something. 10 00:00:29,790 --> 00:00:31,500 Stop, which will stop it, 11 00:00:31,500 --> 00:00:33,480 or enable, which will enable it 12 00:00:33,480 --> 00:00:36,060 for automatic start on system boot. 13 00:00:36,060 --> 00:00:37,920 Disable it will remove it 14 00:00:37,920 --> 00:00:40,920 so that it's no longer automatically started. 15 00:00:40,920 --> 00:00:42,390 We have seen list-units 16 00:00:42,390 --> 00:00:46,530 which is giving a list of all the units currently loaded. 17 00:00:46,530 --> 00:00:48,690 And we have seen set-default, 18 00:00:48,690 --> 00:00:51,750 as well as get-default to change 19 00:00:51,750 --> 00:00:55,443 and to get the current target that is started. 20 00:00:56,370 --> 00:00:58,470 Next, we have used systemctl cat 21 00:00:58,470 --> 00:01:00,810 which allows you to show the configuration 22 00:01:00,810 --> 00:01:02,343 of a current unit file. 23 00:01:03,300 --> 00:01:06,750 And systemctl show, which is a command that allows you 24 00:01:06,750 --> 00:01:10,050 to see all the options that you can set on unit files. 25 00:01:10,050 --> 00:01:11,940 Next level systemctl edit 26 00:01:11,940 --> 00:01:14,250 which you can use to edit unit files. 27 00:01:14,250 --> 00:01:16,860 And systemctl daemon-reload 28 00:01:16,860 --> 00:01:18,780 which is useful if you want to trigger 29 00:01:18,780 --> 00:01:21,510 the systemctl main process 30 00:01:21,510 --> 00:01:23,733 to update all of its configuration. 31 00:01:24,780 --> 00:01:27,210 Next of all, systemctl isolate, 32 00:01:27,210 --> 00:01:31,800 which allows you to go from one target to another target. 33 00:01:31,800 --> 00:01:33,990 And systemctl list-dependencies 34 00:01:33,990 --> 00:01:36,540 which is showing all the dependencies 35 00:01:36,540 --> 00:01:40,320 that have been started in a specific target. 36 00:01:40,320 --> 00:01:43,350 And also, to the end, we have looked at WSL. 37 00:01:43,350 --> 00:01:46,020 In WSL we have the service command. 38 00:01:46,020 --> 00:01:48,210 And we have seen service SSH status 39 00:01:48,210 --> 00:01:51,180 which is telling us the current status of the SSH server, 40 00:01:51,180 --> 00:01:53,100 and service SSH start, 41 00:01:53,100 --> 00:01:55,890 which is allowing you to start this specific service. 42 00:01:55,890 --> 00:01:57,030 That's all the commands. 43 00:01:57,030 --> 00:01:59,643 Let's go check out the end of lesson lab.