How to close new terminal forcefully from script, when Profile Preferences are -> Command-> When commands exits:->Hold the terminal open
1
vote
2
answers
2426
views
I'm trying to open two new terminals and run .sh files on them from an script, but after finishing all the commands, I want one terminal to be closed. I'm using
gnome-terminal -e "sh patterns.sh";
command to open new terminal and to run script.
Asked by MayankD
(43 rep)
Jan 18, 2018, 12:21 PM
Last activity: Jun 20, 2025, 10:07 AM
Last activity: Jun 20, 2025, 10:07 AM