Logging GNU screen command output

Logging GNU screen command output

Previously I described how to use GNU screen to run bash commands in background. In addition to that, if sometimes it happens that a detached command terminates before completion, we would like to have logs for that command, e.g., in order to determine why and when an error occurred. This post explains how to log the progress of a command […]

Detaching a bash command with GNU screen

Detaching a bash command with GNU screen

Sometimes running a bash command on the server can take several hours to complete. In such cases you would like to run the command in background and close the terminal from which the command was started (without terminating the process itself). The best way to achieve that is to use GNU screen’s detaching utility. In order to run and detach […]