LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 12-02-2009, 05:21 AM   #1
u03pje
Member
 
Registered: Oct 2009
Location: Aberdeen
Distribution: RHEL
Posts: 36

Rep: Reputation: 15
Remotely rebooting a linux machine


Is there a means of remotely sending the reboot command to a PC or group of PCs?
 
Old 12-02-2009, 05:25 AM   #2
Elder_Usr
LQ Newbie
 
Registered: Nov 2009
Posts: 4

Rep: Reputation: 0
Hey,

So, in the reference to "rebooting" the PC's or multiple PCs, are you wanting to just restart the X interface, or total ACPI power down and boot back up?

Reason I'm asking is that, both are two different answers.

Thx
 
Old 12-02-2009, 05:26 AM   #3
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

You can use ssh to do that: ssh root@<host> init 6.

A loop would do this for more machines:
Code:
for THISHOST in host1 host2 ..... hostN
do
  ssh root@${THISHOST} init 6
done
Hope this helps.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to shutdown,restart and log off windows machine remotely through a linux machine deepak rawat Fedora 1 05-23-2006 01:25 AM
How do I logon to my linux machine remotely? NSFrankenstein Linux - Networking 7 09-25-2004 11:09 AM
Rebooting Locked up Linux Machine? matt80 Linux - General 6 05-19-2004 09:35 AM
Rebooting remotely karlovac Linux - Networking 1 04-10-2004 11:59 AM
linux machine rebooting begeek Linux - General 0 04-24-2002 12:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 11:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration