Skip to content

Instantly share code, notes, and snippets.

@da-n
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save da-n/42519b711df6cf2de29c to your computer and use it in GitHub Desktop.
Save da-n/42519b711df6cf2de29c to your computer and use it in GitHub Desktop.
Less is better, than tail
$ 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