Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unix commands in win 2000

Status
Not open for further replies.

AtleOlsen

Programmer
Aug 7, 2003
9
DK


Hi!

I need to run a unix command from a win 2000 to the unix
how can I for instance start a: &quot;at < test.job&quot;
(Starts a job/script on the unix)

How can I start this from MS-DOs command line.

The Unix is mapped to my V: so i do have access to files and folders there.

In advance: Thanx a bundle and two.

Atle


 
Easy.

You get a terminal emulator. Just for that situation you can use telnet or hyperterminal.

once you have login into the Unix box you just do the commands as normal.


If you with something more complex and secure you may wish to look at ssh tools.

Now if you wish to run Unix like commands on your Windows machine, and if you wish to have these commands to access FILES shared on the unix machine then you may look at for the tools they supply.




Regards

Frederico Fonseca
SysSoft Integrated Ltd
 
If it is a script you are going to run at the same time everyday, you also can use cron to schedule the running of the script, which will have to be on the Unix system. (And, of course, the script needs to be on the Unix server if you telnet in to the Unix server from a DOS window.)

And you might want to look at this thread: thread80-320570.
 
If you actually want to run Unix scripts on the windows box, Microsoft has a product called Interix. It's a collection of unix-like utilities for Windows and includes a Korn shell, and most of the utilities you'd expect on unix. I believe it includes [tt]at[/tt] and a cron daemon too. Last I checked it's only about $100 and it sure makes Windows feel like home to a unix guy.

Hope this helps.

 
off hand I don't remember the name i have to do some searching but there is a package out there (possibly on freshmeat) that is a full suite of unix commands that run on the win32 env. and best of all it is free

that way you don't have to support bill gate$
 
If you want something more lightweight than Cygwin then you should look at Unxutils. It supports most of the common unix commands, a real bliss when forced to work on a Windblows machine. I hve for instance ported many of my shell scripts to MS with little modification.


IBM Certified Confused - MQSeries
IBM Certified Flabbergasted - AIX 5 pSeries System Administration
MS Certified Windblows Rebooter
 
THx all!!!

I can use the telnet protocol, so I get the terminal up and running in the DOS window.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top