Jan Carlo Viray React · Angular · Node · Go · SQL · NoSQL · Cloud · Entrepreneurship

A year from now you’ll wish you started today — Karen Lamb

LinkedIn ·  Twitter ·  Github

Disable Terminal Line Wrap

I’ve gotten a bit annoyed with terminal wrapping long lines. I’ve been using less for a long time already, but did not know the -S option, or “–chop-long-lines”.

this_command_produces_wide_output | less -S

Bam! Use horizontal arrow keys to view the rest of the line.

If you have any questions or comments, please post them below. If you liked this post, you can share it with your followers or follow me on Twitter!