瘋狂帽客's Blog
You are already naked. There is no reason not to follow your heart. ~ Steve Jobs ~
Friday, September 22, 2017
How can I switch multi-user or graphical mode via one command? (Systemd)
To switch multi-user to graphical mode (runlevel 3 to runlevel 5)
# systemctl set-default graphical && reboot
To switch graphical to multi-user mode (runlevel 5 to runlevel 3)
# systemctl set-default multi-user && reboot
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment