Linux – tail latest file in directory
This simple snippet tails (and follows) the latest log file in the current directory zithromax pills.
tail --lines 100 -f `ls -t *log| head -1`
This simple snippet tails (and follows) the latest log file in the current directory zithromax pills.
tail --lines 100 -f `ls -t *log| head -1`