Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Sometimes I need to help friends with bash scripting. When I'm on a Windows machine, it's a working environment and I can't just setup Cygwin or use a VM.

Is there some free scripting website I can use, preferably where I can use Putty to connect it or something similar?

share|improve this question
3  
I ran across ideone, an interesting site, in the past. I haven't used it much nor can I vouch for its accuracy or POSIX compliance or usefulness, but it does include bash version 4 as one of the languages you can supposedly test online. –  jw013 May 18 '12 at 1:23

4 Answers 4

up vote 1 down vote accepted

For a heavy weight solution, you can spin up an Amazon EC2 instance. The "free/trial" tier is free for the first year of your account:

http://aws.amazon.com/free/

So, in that case, you'll have a wide choice of distros and shells to play with.

share|improve this answer

I believe you are looking for a "free shell account". You should be able to sign up for one that has a description of what you are looking for.

These are typically provided with no expectation of privacy. Be careful what you store and what passwords you use.

share|improve this answer

If you seek something or somewhere that you can execute Linux and bash commands http://cb.vu/ seems to be a good place. This is a web based shell.

share|improve this answer
1  
This is not a bash (or even POSIX resemblant) shell in any sense. –  Chris Down May 17 '12 at 14:37
2  
This is at least somewhere this you can enter some linux commands and see what happens, isn't it? –  XinHua May 17 '12 at 14:43
3  
When it's at the point that one gets if: Command not found, shell redirection operators don't work, and almost none of the commands match the functionality of their standard equivalents (not to mention they appear to not even be trying to mimic Linux, mentioning FreeBSD in their quasi-MOTD)... –  Chris Down May 17 '12 at 14:47
1  
This is not a bash shell, so it does not fit the OP requirements. It has a very small subset of specific commands. It is not suitable for scripting. –  uther May 17 '12 at 15:44

The #bash channel on freenode recommends ShellCheck, an online resource where you can paste your shell scripts and they will be checked for syntax errors, POSIX compliance and other straightforward errors:

ShellCheck is a static analysis and linting tool for sh/bash scripts. It's mainly focused on handling typical beginner and intermediate level syntax errors and pitfalls where the shell just gives a cryptic error message or strange behavior, but it also reports on a few more advanced issues where corner cases can cause delayed failures.

ShellCheck is an open source project, so you can download the code and run your own instance.

share|improve this answer

protected by Community Nov 28 at 0:54

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.