ways to continue run command after shell exit

  1. screen:
    screen -dmS <screen_name> <command>
    exit
  2. nohup:
    nohup <command> &
    exit
  3. at:
    echo "<command>" | at now
    exit
  4. disown:
    <command> &
    disown -h
    exit

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

on point

Thank you for this valuable quick info

Comment