Skip to content

Instantly share code, notes, and snippets.

@brianstorti
Created October 25, 2012 15:24
Show Gist options
  • Save brianstorti/3953320 to your computer and use it in GitHub Desktop.
Save brianstorti/3953320 to your computer and use it in GitHub Desktop.
Using less instead of tail for log monitoring

instead of
tail -f log/development.log

use
less +F log/development.log

so you can use Ctrl-c to move/search inside de log (vim-like) and then Shift-f to go back to the monitoring state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment