3 ms·
Set your pager to let the overflow go off the screen: export PAGER='less -S' And the lines will not wrap in the terminal, when you have a lot of output.
by olefoo 11y ago
Set your pager to let the overflow go off the screen:
export PAGER='less -S'
And the lines will not wrap in the terminal, when you have a lot of output.
- fuhrysteve 11y agoThis here is some of the beauty of linux - psql simply pipes the output to less - a tool that is made exclusively to handle these sorts of "look at a bunch of text on a terminal" problems. Most of the problems less exists to solve would likely be deemed out of scope for a single-purpose utility like psql.
- caarlos0 11y agoI use `less -SX`