Disable Word Wrap with nw / nowrap in Bash
Long lines in log files, scripts, or configs can get really annoying when they wrap across the screen in less. I wanted a quick way to view files without word wrapping, so I wrote a couple of Bash functions:
# ~/.bashrc
function nw() { less -S "$...
rh-scripts.hashnode.dev2 min read