linux_wiki:boot_systems_into_different_targets_manually

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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 [2018/03/17 15:06]
billdozor [Systemd Targets]
Line 32: Line 32:
   * reboot.target => reboot the system   * reboot.target => reboot the system
  
-What target is the system currently in?+\\ 
 +What targets are currently active?
 <code bash> <code bash>
 systemctl -t target systemctl -t target
 </code> </code>
   * 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:
 </code> </code>
  
 +\\
 View a target's dependencies View a target's dependencies
 <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 "--all" option+**Note:** By default, systemctl commands will only show the active configuration files unless you pass the "--all" option
  
   * 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
  • linux_wiki/boot_systems_into_different_targets_manually.txt
  • Last modified: 2019/05/25 23:50
  • (external edit)