List all the targets on RHEL server
List all dependencies of current
multi user target #systemctl
list-dependencies multi-user.target

List the default target#systemctl get-default

Change the target to multi-user.target#systemctl isolate multi-user.target

Set the computer default target to multi-user.target#systemctl set-default multi-user.target

Default location of unit configuration files
/usr/lib/systemd/system
Location of additional configuration files
/etc/systemd/system
Change the target and system boot:

List the default target#systemctl get-default

Change the target to multi-user.target#systemctl isolate multi-user.target

Set the computer default target to multi-user.target#systemctl set-default multi-user.target

Default location of unit configuration files
/usr/lib/systemd/system
Location of additional configuration files
/etc/systemd/system
Change the target and system boot:
No comments:
Post a Comment