Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-13-2003, 11:39 AM   #1
Registered: Jan 2003
Distribution: Redhat 9, Fedora Core 1, Suse 8
Posts: 188

Rep: Reputation: 30
sending windows commands from linux

Does anyone know how I can script this.

What I need to do is send windows command line arguments to a Windows System from a Linux system.

And I need this to be scriptable, not interactive.

Security is not an issue since this is a closed network testing environment.

I can get telnet to work using the built in telnet server in windows, with the exception that I can not script the password entry, even if I have the windows policies set up to allow blank passwords and allow automatic log on. My goal is to start and stop windows perfmon from the controlling linux system.

Any help or ideas would be greatly appreciated.

Thanks in Advance.

Old 11-13-2003, 07:34 PM   #2
Registered: Sep 2002
Location: .at
Distribution: SuSE, Knoppix
Posts: 532

Rep: Reputation: 31
the "expect" command or the "Net::Telnet" perl module should do what you are looking for

google is your friend:


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
Sending AT commands to a SMS modem narmida Linux - Hardware 2 09-24-2009 01:05 PM
sending at commands over pppoe? sti2envy Linux - Networking 3 10-18-2005 06:35 AM
serial port (ttyS1) - Sending commands via terminal... HELP!!! Nalorin Linux - Networking 2 08-21-2005 10:22 PM
Sending a virus to /mnt/windows via Linux d1l2w3 Linux - Security 7 06-01-2004 04:51 PM
sending telnet commands non-interactively JustinHoMi Linux - Networking 4 09-29-2001 01:20 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:57 AM.

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