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

Change runlevels/targets - Linux Tutorial

From the course: Cert Prep: LPIC-1 Exam 101 (Version 5.0)

Start my 1-month free trial

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…

Contents