Created
January 6, 2019 11:31
-
-
Save necenzurat/41b3e2544b9e6d35ca09d3414a3808fd to your computer and use it in GitHub Desktop.
limit file to 1000 rows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "$(tail -1000 /tmp/cron.log)" > /tmp/cron.log | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment