Skip to content

Instantly share code, notes, and snippets.

@fabienhinault
Created April 13, 2017 13:11
Show Gist options
  • Save fabienhinault/e349fdb97b6d44baad7718401373f323 to your computer and use it in GitHub Desktop.
Save fabienhinault/e349fdb97b6d44baad7718401373f323 to your computer and use it in GitHub Desktop.
#!/bin/sh
find <log_dir> -not -empty | xargs ls -t | head -n 1 | tailf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment