how to restart the pc for in a script?
i can you give me a tip on how to make the pc restart
i have tried restart reboot but no luck thanks joe |
Your icon says that you are using Ubuntu Linux, so you should use
Code:
sudo reboot Code:
sudo shutdown -r now Code:
sudo visudo Code:
man reboot |
As "root":
Code:
reboot -i |
thanks will give that a try
joe |
From a script you should use the full path to the command:
To find the full path do: Code:
# which reboot Then edit your script with the full path. Code:
/sbin/reboot |
you can create a desktop icon to do that
--- for Gnome--- r-click the desktop and select " create launcher" and use " reboot" ( without the "") as the command |
All times are GMT -5. The time now is 05:22 AM. |