Possible Duplicate:
How to run script and don't close a terminal

Whenever I try to run a shell script (with syntax errors) in the terminal on Ubuntu 12.04, the terminal opens and then quickly closes, so that I can't even see the command-line output. Is it possible to stop the terminal window from closing in this case?


Browse other questions tagged or ask your own question.