LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Restart through terminal (https://www.linuxquestions.org/questions/linux-newbie-8/restart-through-terminal-449137/)

jojojo 05-27-2006 05:57 PM

Restart through terminal
 
Is there a command to restart FC5 through the terminal?

dannystaple 05-27-2006 06:03 PM

I am taking a bit of a guess here, but last time I used RedHat, it, like most Linux distro's could be restarted with:
Code:

shutdown -r now
as root, where the -r is reboot, and the now is no grace. You could probably do "man shutdown" and change the grace period, and you may also find there is simple a "reboot" command that will do the job too.

Danny

jojojo 05-27-2006 06:51 PM

Ok. Thanks mate.:D

manishsingh4u 05-27-2006 07:40 PM

You can also use this command
Code:

reboot
Quote:

Originally Posted by dannystaple
you may also find there is simple a "reboot" command that will do the job too.

Oops....sorry. I didn't see that


All times are GMT -5. The time now is 12:24 AM.