Is there a *Nix tool that can be used to format command output that is too wide for the screen?
- by erikcw
I'm running
psql -U postgres template1 -c "select * from pg_stat_activity"
and the output is too wide for my terminal. Is there a *nix command I can use to prevent the output from wrapping? Maybe a setting in screen that enables virtual horizontal scrolling?