From the course: Linux Foundation Certified System Administrator (LFCS) Cert Prep
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Boot, reboot, and shutdown a system safely - Linux Tutorial
From the course: Linux Foundation Certified System Administrator (LFCS) Cert Prep
Boot, reboot, and shutdown a system safely
- [Instructor] Let's look at how to boot, reboot, and shut down Linux systems safely. To reboot or shut down a Linux machine, we'll often use the systemctl command, which is short for system control. Now, some commands require system administrator privileges. The root user has such privileges, so we can reboot a machine simply by typing systemctl reboot. Now, regular users cannot use commands that change the system state, but they can temporarily get root privileges if they add sudo in front of their commands. So a regular user needs to type in sudo systemctl reboot instead. And all you need to remember is this. If I'm logged in as root, I don't need sudo. So you can skip writing the sudo word if you're already logged in as root. And this applies to all other examples in the lessons where you see sudo. And to recap, to reboot, we type in sudo systemctl reboot, and to shut down, we type in sudo systemctl poweroff. Rarely you might find yourself in situations where the system refuses to…
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)
Boot, reboot, and shutdown a system safely3m 12s
-
(Locked)
Boot or change system into different operating modes (optional)3m 38s
-
(Locked)
Use scripting to automate system maintenance tasks11m 42s
-
(Locked)
Manage startup process and services11m 32s
-
(Locked)
Create systemd services15m 21s
-
(Locked)
Diagnose and manage processes21m 48s
-
(Locked)
Locate and analyze system log files10m 52s
-
(Locked)
Schedule tasks to run at a set date and time13m 27s
-
(Locked)
Manage software with package manager5m 48s
-
(Locked)
Configure the repositories of package manager9m 37s
-
(Locked)
Install software by compiling source code6m 54s
-
(Locked)
Verify integrity and availability of resources and processes10m 28s
-
(Locked)
Change kernel runtime parameters, both persistent and non-persistent5m 46s
-
(Locked)
List and identify SELinux file and process contexts9m 1s
-
(Locked)
Create and enforce MAC using SELinux27m 42s
-
(Locked)
Create and manage containers22m 51s
-
(Locked)
Manage and configure virtual machines8m 35s
-
(Locked)
Create and boot a virtual machine16m 29s
-
(Locked)
Installing an operating system on a virtual machine4m 5s
-
(Locked)
-
-
-
-