HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by anotherhue | Hacker News Reader
Parent
Full thread
anotherhue
·
Tail the logs into fzf --no-sort --tac
View on HN
gh123man
·
I keep this alias in my zshrc for exactly this purpose
alias lzf="fzf +s --tac --bind 'enter:select-all+accept' -m"
With the added bonus that you can press return to release the filtered lines to stdout. Really useful for interactively filtering logs.
Reply on news.ycombinator.com