Skip to content

Instantly share code, notes, and snippets.

@naaman
Created March 30, 2015 21:04
Tail a Pipe Using Less
less_tail() {
tmp_file=`mktemp -t lesstail`
$@ > $tmp_file &
less +F $tmp_file
kill %
rm $tmp_file
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment