After a few days of searching I found this easy way to bring back the output of a process back to screen even if the source terminal is closed.
The advantage is that you do not need extra software to manage this.
1. Start the process, write it to a new pipe and send it to the background
f.e...
In a completely unrelated note to my recent ramblings, I'm finding I'm having an issue with tail.
tail -n 50 /var/log/nginx/error.log
=> # usage: tail [-F | -f | -r] [-q] [-b # | -c # | -n #] [file ...]
I just want to see the last 50 lines of said file. On my OSX box, works like a charm...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.