Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • 16
    Is there a way to bring this job back to foreground on logging in again?
    – Lord Loh.
    Commented Mar 12, 2012 at 21:10
  • Actually it redirects the output to nohup.out file in the same directory by default.
    – Gowtham
    Commented Dec 28, 2015 at 8:52
  • 1
    @LordLoh. Afaik, the only practical way to do this is to use tmux or screen. Commented Feb 11, 2016 at 21:20
  • 3
    this worked much better, thanks! I just say nohup <my program> and then CTRL-Z + bg Then I can logout. You can validate that it still runs by having another ssh looking at top and see the process keep going
    – Hulvej
    Commented May 3, 2016 at 7:26
  • You can also do tail -f nohup.out to see the output in real time, and then kill the PID if you need to restart.
    – veggiebenz
    Commented Apr 30, 2018 at 19:32