1

You need to run a process on a RedHat Linux server that takes a little while to run. You want to monitor the output as the process runs but need to guarantee that the process won't terminate if you loose your ssh session. What do you do? (provide specific command syntax as necessary)

2
  • To start with, you do your own homework.
    – Jenny D
    Oct 21, 2015 at 12:51
  • I got it working.
    – MahuLovzYou
    Oct 21, 2015 at 14:55

2 Answers 2

3

Use a terminal multiplexer like screen, or the newer tmux. You can start a session, detach, and come back later.

2
nohup your-command-here &> output.txt &
tail -f output.txt

You must log in to answer this question.

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