Sunday, June 5, 2022

[SOLVED] How can I look into nohup file while the program is still running?

Issue

I was using

nohup ./program_name & 

to run my program, program_name prints out some values and status of the running process including how much percentage the program has finished, but since I'm running it using nohup so I can't see how close my program to finish is, is there anyway I can still get that information?


Solution

We have to Just open nohup.out to see output. Probably you want

tail -f nohup.out 

for streaming output



Answered By - Lol4t0
Answer Checked By - Terry (WPSolving Volunteer)