From the course: Cert Prep: LPIC-1 Exam 101 (Version 5.0)
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Change runlevels/targets - Linux Tutorial
From the course: Cert Prep: LPIC-1 Exam 101 (Version 5.0)
Change runlevels/targets
- [Instructor] With the SysV and its system, we had run levels 0 through 6. Most of them had their functions already defined, and a couple we could change for our own purposes. Those run levels are really nothing more than directories full of scripts or symbolic links to scripts. The scripts got executed in dictionary order if the script name starts with an S. If the script name starts with a K, it kills in dictionary order. It's a simple system and has worked for a long time. The equivalent to run levels in systemd are targets. Targets are completely configurable and are not limited to a certain number. We can get a list of targets by typing in systemctl list-units --type target and hit enter. Here we see many targets with descriptive names such as basic.target, network.target, and graphical.target. What this doesn't list is the target aliases that Redhat has created to smooth the transition. Redhat created targets…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
About SysVinit, systemd, and Upstart2m 32s
-
Get systemd service status3m 56s
-
(Locked)
Manage systemd services2m 33s
-
(Locked)
Make systemd services persistent1m 40s
-
(Locked)
About SysVinit services6m 4s
-
(Locked)
Change runlevels/targets3m 45s
-
(Locked)
Boot into the emergency target4m 13s
-
(Locked)
Locate and interpret system log files4m 43s
-
(Locked)
Reading the system journal3m 1s
-
(Locked)
-
-
-
-
-
-
-
-
-
-