By default systemd (v245) on Ubuntu 20.04 focal, if I do systemctl status $THING
, and the output lines are longer than my screen, then the default pager (less?) will do horizontal scrolling. I would rather the extra text be on the following lines ("word wrap")
what environmental variable can I set to make this change from horizontal scrolling to "put the remainder of the line on the next line"?
I know that systemctl --no-pager $THING
or systemctl status $THING | cat
will work in this case, but that's extra text to type every time. I want systemctl status $THING
to always work without having to add extra bits.