MintGuide.org / How to make the terminal was not closed after running sh

How to make the terminal was not closed after running sh

 

Description of the problem.
When we run any sh script by double-clicking it in the file Manager and selecting run in terminal, we will open a terminal window and, after execution of all commands in the sh script, the terminal window closes.

As a result, we do not know whether the script is correct, whether there were any errors? I would like to running through the file Manager, terminal window would not close and i could see the history of the script execution.

 

How to make the terminal was not closed after running shHow to make the terminal was not closed after running sh

How to make the terminal was not closed after running shHow to make the terminal was not closed after running sh

The solution is very simple:
To a terminal window not closed after executing sh script, go to the profile settings of the terminal and select option like on the screenshot:

How to make the terminal was not closed after running shHow to make the terminal was not closed after running sh

How to make the terminal was not closed after running shHow to make the terminal was not closed after running sh

Now the terminal window will not be closed after execution of the script sh.
And now we can view the full execution log, and if necessary to copy some information or error:

How to make the terminal was not closed after running shHow to make the terminal was not closed after running sh

Good Luck!!!

24-10-2016, 17:52
Go Back