Discovered `less -S` today which really saved me with a log file that had a bad error message that was so long even `less` started chugging.

"-S or --chop-long-lines"

"Causes lines longer than the screen width to be chopped (truncated) rather than wrapped. That is, the portion of a long line that does not fit in the screen width is not shown. The default is to wrap long lines; that is, display the remainder on the next line."

Immediately fixed the problem, got the info I needed from the file in 2 seconds.

#bash #term #SoftwareDeveloment

I guess to give credit to "less", my terminal stated chugging. I'm sure less was doing great.
@doowttam Nice tip! I use bat (https://github.com/sharkdp/bat) and it turns out it *also* supports the -S option.
GitHub - sharkdp/bat: A cat(1) clone with wings.

A cat(1) clone with wings. Contribute to sharkdp/bat development by creating an account on GitHub.

GitHub