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

Portfolio ·  LinkedIn ·  Twitter ·  Stack Overflow ·  Github ·  Contact Me

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!