News for hackers. Stuff that matters.
Re:Use the 'tail' command to monitor everything by rhizome on Tuesday July 13, 2021 @01:30AM (#27817862)
How many times have you seen the last line of a file you're tailing be something like "00:00 Logfile turned over." Both less and tail stop doing their business when a log is rotated and the inode changes. Stop that by adding or extending an alias:

    alias less='less --follow-name' # still requires <shift>-f to follow
    alias tail='tail -F'
Re:Use the 'tail' command to monitor everything by iso1631 on Tuesday July 13, 2021 @06:06AM (#27819224)
I use tail, head, tac, grep, watch etc all the time to pick out stuff I'm looking for, sometimes I use tail -f, but it's certainly a minority of my tail invocations.
Re:Use the 'tail' command to monitor everything by aerique on Tuesday July 13, 2021 @04:20AM (#27818659)
I've been using `tail -F` for decades but I forgot why!
Re:Use the 'tail' command to monitor everything by gjvc on Tuesday July 13, 2021 @08:54AM (#27820305)
reopens files replaced with a new inode