I let a make command running last night when connected via SSH to a remote machine. Then had to close that SSH session, letting make run.

How can I check the last printed messages on the console (to know if no error was issued)?

  • 1
    How did you let the process continue running after disconnection? Using nohup disown? Or inside a terminal multiplexer like screen or tmux? In the latter case, the output could be recoverable by just browsing the terminal buffer history, depending on the max buffer limit.
    – user13742
    Commented Dec 19, 2013 at 15:20
  • So after closing the SSH session the make command "closes" whit it. Thought the command would keep running =\ Thanks! Commented Dec 19, 2013 at 15:26
  • if you used nohup without i/o redirection look in nohup.out
    – hildred
    Commented Dec 19, 2013 at 22:57

1 Answer 1


What I would recommend is to prepeare in advance, and run the command as follows:

nohup make install >> /var/log/messages &

or, another option, install screen. Before running the command create a new screen with screen command. When coming back, type screen -r, or screen -r <screenid> if you have several screens opened to log back in to the session and see all messages printed.

Both of these commands require that you run the commands differently and I don't think they can help you if you already run the command as you did and wish to see its results now.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .