updated notes

This commit is contained in:
Hugh Ratsch
2025-02-16 12:23:22 -06:00
parent f30354d19e
commit a82d15f47c
+23
View File
@@ -434,4 +434,27 @@ sudo less /var/log/messages # Display the kernel messages
```bash
systemctl list-units --type=target
### Changing the default target ###
sudo systemctl set-default multi-user.target # Set the default target to multi-user.target
sudo systemctl set-default graphical.target # Set the default target to graphical.target
sudo systemctl set-default basic.target # Set the default target to basic.target
```
### Run Level
> Note: Run level is a way to manage the boot process of a system. It is a way to manage the boot process of a system.
> 0 is the emergency mode.
> 1 is the single user mode.
> 2 is the multi-user mode.
> 3 is the multi-user mode.
> 4 is the multi-user mode. (unused)
> 5 is the graphical mode.
> 6 is the reboot mode.
```bash
runlevel # Display the current run level
sudo systemctl get-default # Display the default target
sudo systemctl set-default runlevel3.target # Set the default target to runlevel3.target
sudo telinit 3 # Change to runlevel 3
```