Running script for multiple days, saves output at end of script

>running script for multiple days, saves output at end of script
>lose ssh connection for .001 seconds
>reconnect
>script is not running
so this is the power of GNU/Linux

Attached: 309.png (500x667, 84.54K)

Other urls found in this thread:

pubs.opengroup.org/onlinepubs/9699919799/utilities/nohup.html
twitter.com/SFWRedditVideos

make it save output while it's running

screen autodetach solves this
I never run an ssh session without screen, not only for this but also because multiplexing is just too useful

screen -h1000 -R whatever
[run your script here]
press ctrl+a then press d
log out of ssh or whatever
reconnect with
screen -r whatever


OR

nohup ./script &


lrn 2 background

Use tmux or run it as a daemon.

It's not "GNU/Linux" problem. It is "you" problem.

Microsoft(tm) RDP does not have this problem.

wow I remember when I was that young

Kek, didnt use screen or tmux

Attached: 165806190064245.jpg (564x544, 26.57K)

this
instead of ricing your desktop with anime girls learn some commands
also checked

>winjeet doesn't know how to use Unix, the thread

lmao nigger

>retard doesnt use thing right
>blame thing for not popping up a Clippy tooltip when he does something wrong
man nohup

You should have used screen. Also saving intermediate steps to files is standard practice if you have multiple days runs.

you could've just googled "how to run a script in background on linux", but instead you decided to pollute the board with this garbage thread
have some shame of yourself, faggot

Attached: 1644880744307.png (1465x825, 1.53M)

There's a tool just for this, OP:
pubs.opengroup.org/onlinepubs/9699919799/utilities/nohup.html

no one cares about FAGMAN software

A long running script should always be daemonized, either by being backgrounded or running in a detached shell instance.

use tmux

why do I come to this fucking site

Apparently to get called a retard because you don't know how to use Google lol