How do I restart from terminal? type shutdown, followed by the option you wish to execute. To shut down your computer, type shutdown /s. To restart your computer, type shutdown /r. To log off your computer type shutdown /l.
How do I restart Ubuntu desktop? Restart Gnome in Ubuntu
If your desktop can still respond to your keyboard, press Alt + F2 , type the single letter r on the pop-up window, and press Enter. This will restart your desktop environment without much fuss.
How do I shut down terminal? Linux shutdown commands are entered in the Linux terminal that is launched by using the keyboard shortcut[Ctrl] + [Alt] + [T]. You can then close the terminal window with the shortcut [Ctrl] + [D].
How do I refresh in terminal? Just hold down Ctrl + Alt + Esc and the desktop will be refreshed. Keep in mind that this is exclusive to Cinnamon (e.g. on KDE, this shortcut lets you kill an application). Your desktop will blank out for a moment, then refresh itself. This hopefully means any problems before it will go away.