filt
is a interactive/realtime stream filter ( also known as "trial-and-error pipe" ).
$ tail -F /var/log/nginx/access.log | filt
and enter Ctrl+C
.
You can use --buffered
( -b
) option
$ cat /var/log/nginx/access.log | filt -b
and enter Ctrl+C
.
Input "exit" to prompt or enter Ctrl+C
.
Enable:
$ filt config history.enable true
Disable:
$ filt config history.enable false
homebrew tap:
$ brew install k1LoW/tap/filt
manually:
Download binany from releases page
go install:
$ go install github.com/k1LoW/filt@latest
- up: up is the Ultimate Plumber, a tool for writing Linux pipes in a terminal-based UI interactively, with instant live preview of command results.