Skip to content

Instantly share code, notes, and snippets.

@the-architect
Created July 16, 2014 02:45
Show Gist options
  • Save the-architect/d0ea1b6eb25a5a328c3b to your computer and use it in GitHub Desktop.
Save the-architect/d0ea1b6eb25a5a328c3b to your computer and use it in GitHub Desktop.
tail file even if it does not exist yet, becomes inaccessible or gets replaced
# use the capital F flag:
# -F => same as -f --retry
# --retry keep trying to open a file even if it is inaccessible when tail starts or if it becomes inaccessible later
tail -F filename
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment