I wrote my own shell script, and I made it executable with "chmod +x" command. But when I click to shell file and want to run it in terminal, it suddenly opens and then closes in a second. What is the problem?
It also closes automatically once it has run your command.
You can also add a