LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 08: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, 09:44 PM   #2
qweasd
Member
 
Registered: May 2010
Posts: 621

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, 05: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 05:18 AM.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:44 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
Open Source Consulting | Domain Registration