Link to home
Start Free TrialLog in
Avatar of _agx_
_agx_Flag for United States of America

asked on

Reboot Amazon EC2 Linux instance via Putty

Easy question. I'm new to linux and am accessing an EC2 linux instance via putty, and need to reboot it.  The Amazon User Guide only mentions using the Amazon console. Does anyone know if it supports rebooting via putty?
ASKER CERTIFIED SOLUTION
Avatar of Mazdajai
Mazdajai
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of _agx_

ASKER

What does the "init 6" do? How does reboot differ from "shutdown -r now" on a regular linux machine?
On a high level, they perform nearly the same. (Both call the shutdown command).

If one day you are missing reboot binary in a nix distro, you can try init 6.

There is no 'best' method in reboot verus init 6.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of _agx_

ASKER

(Edit)  Coincidentally I was just reading that same link!

Ok.. so in theory any of the three options would work? I don't have access to the Amazon console, so I want to be sure I understand what *should* happen before trying them ;-)
Yes all should work. Personally I prefer init 6.
Avatar of _agx_

ASKER

Thanks, I'll give those a try.