systemctl isolate
linux
Start the specified unit with its dependencies and stop all others. Ignores the units which have `IgnoreOnIsolate=yes`.
More info →Examples (4)
Switch to a target (assumed `.target` if no extension provided)
systemctl isolate targetSwitch to graphical target explicitly
systemctl isolate graphical.targetSwitch to rescue (single-user) mode
systemctl isolate rescue.targetSwitch to emergency mode
systemctl isolate emergency.targetmade by @shridhargupta | data from tldr-pages