0

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?

3
  • 2
    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 Commented Feb 19, 2013 at 7:45
  • That's a great solution, I'm on it right now. Thanks! (and if you create an answer I'll definitely accept it.) Commented Feb 19, 2013 at 8:39
  • Glad it can help. I used it when preparing a script for a dd-wrt router (it got Busybox with all the goodies) and don't want to keep rebooting the router when my faulty script kill the connection. Commented Feb 19, 2013 at 8:43

2 Answers 2

2

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

Sign up to request clarification or add additional context in comments.

Comments

1

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.

3 Comments

Thank you, Ben. But the solution in the comment to my question is great for me.
That's ok. Nonetheless, if you find my answer useful, please vote up-
I think you could use Cygwin.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.