17

I am new in Linux and I want to know the exact command to restart a RedHat 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.

Giacomo1968
  • 53,069
  • 19
  • 162
  • 212
Akshay
  • 317
  • 1
  • 2
  • 4

3 Answers3

29

To restart your machine just use

reboot

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

Matteo
  • 7,717
  • 2
  • 42
  • 57
14

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

Andrew
  • 914
  • 9
  • 19
1

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
yoozer8
  • 444
  • 1
  • 8
  • 26
maneeshshetty
  • 672
  • 2
  • 11
  • 22