how to continue run script after tail -f command

前端 未结 6 827
攒了一身酷
攒了一身酷 2021-01-18 09:55

I have the following script:

tail -f nohup.out
echo 5

When I press Ctrl+C on tail -f, the script stops r

6条回答
  •  有刺的猬
    2021-01-18 10:05

    Look up File:Tail in perl, have used this a few times on different projects to automate tailing logs and carrying out a specific action for log output.

    google ftp-upload-mon a project I uploaded to sourceforge which uses File:Tail to tail -f xferlogs

提交回复
热议问题