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