![]() We hope this article of restarting Linux via terminal was easy to follow. The man command is the perfect documentation for Linux nerds. Also, as a programmer working on Linux, you can use the ideas in the programming snippets here to implement in your code.Īnd lastly, if you wish to know more about any of the commands mentioned about, just type in man. replace reboot,recovery with shutdown to shutdown the device. replace reboot,recovery with reboot to reboot the device. replace su -c with adb shell to run the command using adb. ![]() That brings us to the end of this article! Without a GUI, Linux allows us to perform a system restart in various ways that we’ve seen here today. Alternatively, if youre running Android KitKat or above and have root access, you can try this command in a terminal app: su -c setprop sys.powerctl reboot,recovery.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |