Reputation: 3713
I need to write a simple shell script that will run on a Linux box, and I want to test it on my windows machine.
Looking all over I find solutions like Cygwin. But I don't really need a Linux environment -- I just want to do some light testing. Is there a simple solution that doesn't require heavy duty installations, for just this one small task?
Upvotes: 0
Views: 4539
Reputation: 5644
If you can do it online, I would create a free shell account somewhere like this cjb.net/shell.html and test it on SSH client
Upvotes: 2
Reputation: 115
I think that this will not be possible without some "heavy duty installation" as most scripts rely on UNIX-System tools which are by default not available in a windows environment.
If you want to keep your system clean, try a virtual machine. You can set up VMWare Player or Virtualbox with some e.g. Ubuntu ISO in less than 10 Minutes and it won't influence your system. (Apart from the VMWare installation).
There are also some pre-built VMs available:
http://virtualboxes.org/images/ubuntu/
http://www.backtrack-linux.org/downloads/
Best of luck
Ben
P.S. IMHO Cygwin is a helpful and handy tool to have installed on a Windows box.
Upvotes: 1