For Linux
env x='() { :;}; echo vulnerable' bash -c "echo this is a test"For Solaris 10
env x='() { :;}; echo vulnerable' bash -c "echo this is a test"For Solaris 11
env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
Solution is of course to patch or update to the latest version of bash. Go check out your OS for any updates now.