LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-27-2010, 09:28 PM   #1
Deepak Goyal
LQ Newbie
 
Registered: Oct 2010
Posts: 2

Rep: Reputation: 0
Remotely shut-down XP machines from a Linux server


Hello Linux Guru's

suddenly ,I get a project to shutdown all xp's by a Linux server(RHEL5) using a single command.

by net command i did that.but in this case i have to specify all the ip addresses manually .Is there any way that Linux server obtain the ip addresses automatically on a network and then shut down all the pc's.

Help Me Linux Guru's

thanks
 
Old 10-27-2010, 10:44 PM   #2
qweasd
Member
 
Registered: May 2010
Posts: 577

Rep: Reputation: Disabled
You could attach a powerful cannon to the RedHat computer and have a script fire it upon the building with the XPs. That's the only way to ensure that once down, XPs will stay down.

Seriously, though, nmap may be just what you need.
http://nmap.org/book/man-host-discovery.html
 
1 members found this post helpful.
Old 10-29-2010, 06:06 AM   #3
Deepak Goyal
LQ Newbie
 
Registered: Oct 2010
Posts: 2

Original Poster
Rep: Reputation: 0
sir,

but i don't understand how to use nmap in my script file for ip's?

Last edited by Deepak Goyal; 10-29-2010 at 06:18 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Remotely Manage Machines Using VNC LXer Syndicated Linux News 0 11-02-2006 02:33 AM
How-to manage a Sun Solaris Server remotely with a Linux W Laoch Solaris / OpenSolaris 2 09-15-2005 03:15 AM


All times are GMT -5. The time now is 11:28 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration