All articles
Last comments
kardamom
Jesús, for "libpackagekit" run: sudo apt-get install packagekit-backend-aptcc
Guest Michael
This is my favorite GUI text editor for Linux, I use the Windows version all the time too. I also covered this topic here.
Andrii
I'm using Mint Cinnamone installed on virtual machine VMWare. The instruction helped me to adjust my mouse scroll wheel speed. I set the value to 6. Now it's comfortable to use the mouse. Thanks a lot!
Shekin
Cecilieaux Bois de Murier, 1. Silentcast 2. I haven't checked, but I think that it is possible to do in the program SimpleScreenRecorder
Cecilieaux Bois de Murier
Is there an application that imports stills into a GIF?
Archive
«    January 2017    »
MonTueWedThuFriSatSun
 1
2345678
9101112131415
16171819202122
23242526272829
3031 
» » How to make the terminal was not closed after running sh

How to make the terminal was not closed after running sh

How to make the terminal was not closed after running sh

This article will show you how to do that after you run the sh script, running it through a File Manager, terminal window would not close.

Sorry for the spelling and phonetic errors in the text.
Owner and main writer of MintGuide.org is not a native English speaker.


 

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!!!

Related Articles

Add a comment

  • bowtiesmilelaughingblushsmileyrelaxedsmirk
    heart_eyeskissing_heartkissing_closed_eyesflushedrelievedsatisfiedgrin
    winkstuck_out_tongue_winking_eyestuck_out_tongue_closed_eyesgrinningkissingstuck_out_tonguesleeping
    worriedfrowninganguishedopen_mouthgrimacingconfusedhushed
    expressionlessunamusedsweat_smilesweatdisappointed_relievedwearypensive
    disappointedconfoundedfearfulcold_sweatperseverecrysob
    joyastonishedscreamtired_faceangryragetriumph
    sleepyyummasksunglassesdizzy_faceimpsmiling_imp
    neutral_faceno_mouthinnocent
Login via
32-11
Up