LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Running Windows commands on linux? (https://www.linuxquestions.org/questions/linux-newbie-8/running-windows-commands-on-linux-435914/)

itz2000 04-17-2006 04:41 AM

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!

coolb 04-17-2006 05:09 AM

ssh to the box(first start sshd on the box) then run #halt

itz2000 04-17-2006 05:38 AM

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!

itz2000 04-19-2006 11:26 AM

anyone?
../ ...?

geeman2.0 04-19-2006 12:47 PM

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? :)

Poetics 04-19-2006 12:49 PM

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.

itz2000 04-19-2006 02:22 PM

well I just don't know how to start ssh in windows... :S


All times are GMT -5. The time now is 09:12 PM.