Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am new in linux. I want to know the exact command to restart a red hat linux server 6.3. and it has to start network drivers etc.

I am using VPN to connect to remote machine using VNC.

Can anyone help from the issue.

share|improve this question
    
Are you trying to wake up a sleeping remote machine with no active network connections? –  zero2cx Sep 24 '12 at 3:55

3 Answers 3

Maybe I'm not understanding the question, but assuming you have root (or sudo) privileges, then reboot (or /sbin/shutdown -r now) will perform a full system reboot.

share|improve this answer
    
i want restart system by remote terminal i have root acces –  Akshay Aug 27 '12 at 8:14
    
Then reboot (or /sbin/shutdown -r now) will perform a full system reboot - even if commanded from SSH –  Andrew Aug 27 '12 at 8:20

To restart your machine just use

reboot

All the services that are configured to start will be started as usual.

share|improve this answer
    
Hi some thing like int0 to init 6... which mode it ll change..? –  Akshay Aug 27 '12 at 7:19
    
Just an addition, you have to be root for this and for restarting everything correctly, the system has to be set up correctly. –  Michael K Aug 27 '12 at 7:21
    
@Michaek IT wont go to different mode. like init1 or some other –  Akshay Aug 27 '12 at 7:24
    
May be: sudo reboot is better. –  shasi kanth Jun 19 at 10:59
    
@shasi on a standard RH installation a normal user does not have the permission to reboot. Then either edit sudoers or get a root shell and reboot. –  Matteo Jun 19 at 11:11

Not sure if this helps to you (provided I got you right). I believe you want to reboot remote linux machine.

Make sure you have root access and then run below command.

ssh root@destination_server_to_be_rebooted reboot

-Maneesh

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.