Maybe a bash command or something?
|
|
Different versions of linux have different commands to shutdown and reboot the computer. Either provide the OS and distribution you're using, or try these commands:
If you want to only power it down, use:
Both sets of commands typically need sudo permission to execute. |
|||||||
|
|
Since you are asking about a "bash command or something", I assume that you are on Linux or something. Try this:
This will restart the machine. |
|||||||||||||||
|
|
If you have Magic SysRq enabled in your kernel, you can use alt+printscreen+(char) even if your system is relatively broken. (for example, if X is hosed) Don't use this approach unless you can't do a normal shutdown -- shutdown -r now or similar is far better if you actually have a usable command line. |
|||
|
|
|
Well, assuming you run the bash on some Unix environment, you should have shutdown command, which has "-r" option for rebooting. Manuals for this can be found by issuing "man shutdown" command, or by checking this page for BSD or this page for Linux versions of the shutdown. |
|||
|
|
|
Right click on any blank space of windows desktop -> New -> Shortcut. A “Create Shortcut” window will open. In the blank, type in:
shutdown.exe -r -t 0 |
|||
|
|
|
Two sequential * I haven't used this since XP... |
|||||||||||
|