Terminal closing when shell command is cancelled

If you launch the the xfce4-terminal from a script - it is normal the window closes when script is finished.

If you want the window to stay open instead of closing you use –hold.

I think what you are looking for is something like nohup

man nohup

Credit Mount get's undone when script ends? - #2 by Aragorn

On a sidenote - please don’t be lazy - posting screenshots of text - you can copy and paste the text into your comment - but a screenshot ?

1 Like