Created
October 26, 2020 07:51
-
-
Save subhendu-de/4fa09bde8a57614750218b9fe2924a8d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# To show the list of available targets | |
systemctl list-units --type=target --all | |
# To check the default target of the linux vm | |
systemctl get-default | |
# To set the default target of the linux vm | |
sudo systemctl set-default graphical.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment