How to terminate screen from bash script?

Tom Mitchell niftyubuntu at niftyegg.com
Tue Jul 19 23:09:02 UTC 2022


On Tue, Jul 19, 2022 at 1:42 PM Bo Berglund <bo.berglund at gmail.com> wrote:
>
> I have a video editing script that cuts pieces out of a video file based on
....
> I tried reading the man page but it is HUGE and very hard reading so I gave up.
>
> All googling attempts I do bring up ways to *detatch* from the running screen
> window, but I want to *terminate* it automatically once the job is done...

Look for
autodetach on|off
In examples or the documentation.

Sets whether screen will automatically detach upon hangup, which saves
all your running programs until they are resumed with a screen -r
command. When turned off, a hangup signal will terminate screen and
all the processes it contains. Autodetach is on by default.




More information about the ubuntu-users mailing list