Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux_wiki:boot_systems_into_different_targets_manually [2016/03/01 22:07] billdozor [Systemd Units] |
linux_wiki:boot_systems_into_different_targets_manually [2019/05/25 23:50] (current) |
||
---|---|---|---|
Line 32: | Line 32: | ||
* reboot.target => reboot the system | * reboot.target => reboot the system | ||
- | What target is the system | + | \\ |
+ | What targets are currently | ||
<code bash> | <code bash> | ||
systemctl -t target | systemctl -t target | ||
</ | </ | ||
* Look for either emergency, rescue, multi-user, or graphical. | * Look for either emergency, rescue, multi-user, or graphical. | ||
+ | * **Note**: If you are in the graphical target, multi-user will also be active, since multi-user is a dependency of graphical. | ||
\\ | \\ | ||
Line 59: | Line 61: | ||
* --all => show all loaded unit files, even if they are not active | * --all => show all loaded unit files, even if they are not active | ||
+ | \\ | ||
List all installed unit files on the system | List all installed unit files on the system | ||
<code bash> | <code bash> | ||
Line 64: | Line 67: | ||
</ | </ | ||
+ | \\ | ||
View a target' | View a target' | ||
<code bash> | <code bash> | ||
Line 70: | Line 74: | ||
* List what will start upon entering multi-user.target | * List what will start upon entering multi-user.target | ||
+ | \\ | ||
Move from graphical target to multi-user (command prompt) | Move from graphical target to multi-user (command prompt) | ||
<code bash> | <code bash> | ||
Line 80: | Line 85: | ||
===== Other Systemctl Commands ===== | ===== Other Systemctl Commands ===== | ||
- | **Note:**By default, systemctl commands will only show the active configuration files unless you pass the " | + | **Note:** By default, systemctl commands will only show the active configuration files unless you pass the " |
* systemctl --type=service => list all loaded and active only service unit config files | * systemctl --type=service => list all loaded and active only service unit config files |