Questions tagged [reboot]

Reboot is a Unix command to restart the operating system. It is also a generic term for restarting any operating system.

559 questions
-2
votes
1 answer

reboot android and take screenshot of current screen programmatically

Hello Is there any way to reboot and take screenshot of android? Settings.System isn't working for me. Settings.System.putInt(context.getContentResolver(),android.provider.Settings.System.SCREEN_BRIGHTNESS, 200); And, is there any way to take…
Harsh Vakharia
  • 1,866
  • 19
  • 26
-4
votes
1 answer

ubuntu reboot & shutdown command with password

I am writing a program in Java to shut-down the Ubuntu server. echo password | sudo -S shutdown -h now sudo -p 'password' shutdown -h now either of the commands didn't work. I need sudo command for shut-down and reboot my server by passing…
MAHI
  • 7,205
  • 10
  • 34
  • 46
-5
votes
1 answer

How to restart the server?

I have reboot the server (in which there is a VM with linux). The problem is that after the reboot (I've used the sudo reboot -h now command) the system doesn't go. So when I try to open it by terminal it returns: ssh: connect to host x.x.x.x port…
ChiaraM
  • 65
  • 9
-7
votes
1 answer

How to resume a script in Python after system reboot?

Need to save the script state before reboot and then on resume, i need to start the script from the point it was left. Mine is a Windows 2k12 System on a Dell R710 Server. What I have done so far is: 1. Pickled the step number before which I need to…
1 2 3
37
38