User Tools

Site Tools


ubuntu:systemd:set_multi-user.target_as_the_default_target

Ubuntu - Systemd - Set multi-user.target as the default target

sudo systemctl set-default multi-user.target

NOTE: This command creates a symbolic link from /etc/systemd/system/default.target to /lib/systemd/system/multi-user.target.

  • If you reboot now, you will be taken to the multi-user target.

ls -lh /etc/systemd/system/default.target

returns:

lrwxrwxrwx 1 root root 42 Jan  4 16:31 /etc/systemd/system/default.target -> /lib/systemd/system/multi-user.target

ubuntu/systemd/set_multi-user.target_as_the_default_target.txt · Last modified: 2023/06/03 09:50 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki