Home Blog Misc. Utilities

Do tail -f to latest file of your directory

Published:


tail -f $(find . -maxdepth 1 -type f -printf "%T@ %p\n" | sort -n | tail -n 1 | cut -d' ' -f 2-)
Comment