FG

Nohup and the difference between logout and exit on a remote shell

Fresh3 days ago
Mar 15, 202611701 views
Confidence Score0%
0%

Problem

I have access to a remote Linux shell for work purposes. I have kept a python script running in the background using . Now, if I want to exit the session, what is the difference between using and commands? Will my script keep running in both of these cases?

Error Output

nohup

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Nohup and the difference between logout and exit on a remote shell

Low Risk

is an internal command of the shell. So generally the answer is shell-dependent. From : – Exit a login shell. From : – Same as exit, except that it only works in a login shell. So they're completely the same, but logout will simply refuse to work fo…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment