Last active
August 29, 2015 14:01
-
-
Save da-n/42519b711df6cf2de29c to your computer and use it in GitHub Desktop.
Less is better, than tail
This file contains 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
$ less +F log/production.log | |
# less +F works exactly like tail -f, with more: | |
# | |
# Simply press ctrl+c to switch to editing model, so you can scroll backward and using any more/vi command, such as /pattern to search | |
# Press shift+f again to switch back to tail model | |
# Anyway, just run man less to find some more information. | |
# | |
# source http://blog.libinpan.com/2009/07/less-is-better-than-tail/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment