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?
LVL 53
_agx_Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MazdajaiCommented:
Updated: You can use the generic linux commands to reboot -

reboot now
init 6 

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
_agx_Author Commented:
What does the "init 6" do? How does reboot differ from "shutdown -r now" on a regular linux machine?
0
MazdajaiCommented:
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.
0
Powerful Yet Easy-to-Use Network Monitoring

Identify excessive bandwidth utilization or unexpected application traffic with SolarWinds Bandwidth Analyzer Pack.

MazdajaiCommented:
I attached the article below for a throughout explanation:

http://www.vreference.com/2009/09/23/reboot-is-not-the-same-as-init-6/
0
_agx_Author Commented:
(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 ;-)
0
MazdajaiCommented:
Yes all should work. Personally I prefer init 6.
0
_agx_Author Commented:
Thanks, I'll give those a try.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.