LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-17-2006, 05:41 AM   #1
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Rep: Reputation: 30
Running Windows commands on linux?


Hello, I would like to run the following command to shutdown the other computer on the network which (XP).

If I used XP aswell I would have written
Code:
shutdown -s -m \\compname00
How can I run that command here (using win syntx or lin syntx ==> shutdown /poweroff)

Thanks!
 
Old 04-17-2006, 06:09 AM   #2
coolb
Member
 
Registered: Apr 2006
Location: Cape Town, South Africa
Distribution: Gentoo 2006.1(2.6.17-gentoo-r7)
Posts: 222

Rep: Reputation: 30
ssh to the box(first start sshd on the box) then run #halt
 
Old 04-17-2006, 06:38 AM   #3
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by coolb
ssh to the box(first start sshd on the box) then run #halt
u mean ssh to XP box? what if his SSH is disabled! there must be other solution!
 
Old 04-19-2006, 12:26 PM   #4
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Original Poster
Rep: Reputation: 30
anyone?
../ ...?
 
Old 04-19-2006, 01:47 PM   #5
geeman2.0
Member
 
Registered: Feb 2005
Location: Ontario, Canada
Distribution: Gentoo, Slackware
Posts: 345

Rep: Reputation: 30
Quote:
u mean ssh to XP box? what if his SSH is disabled! there must be other solution
Make sure it isn't disabled.
And if you can't do that, then what business do you have shutting down this other person's box?
 
Old 04-19-2006, 01:49 PM   #6
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
As geeman said. If you don't have the ability to issue commands to the other box (ie via SSH or *shudder* telnet), then you are simply unable to issue such commands.
 
Old 04-19-2006, 03:22 PM   #7
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Original Poster
Rep: Reputation: 30
well I just don't know how to start ssh in windows... :S
 
  


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
Windows Commands for Linux Rivitir Linux - Software 2 01-27-2006 02:50 PM
linux to windows remote commands treebug Linux - Networking 1 04-02-2005 06:51 PM
issue commands to linux box from windows? TheOneAndOnlySM Linux - General 15 04-15-2004 02:54 AM
sending windows commands from linux dubman Linux - Networking 1 11-13-2003 08:34 PM
windows commands converted to linux. Moses420ca Linux - Newbie 4 07-26-2003 12:10 PM


All times are GMT -5. The time now is 02:01 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