systemctl status log output

Solution 1:

systemctl -l --no-pager status .....

-l, --full Do not ellipsize unit names, process tree entries, journal output, or truncate unit descriptions in the output of status, list-units, list-jobs, and list-timers.

Also, show installation targets in the output of is-enabled.

--no-pager Do not pipe output into a pager.

should work.

Solution 2:

I was searching this on internet and found the solution here:

https://unix.stackexchange.com/questions/356753/bash-always-outputs-to-less-how-can-i-turn-this-off

Simply add this to /etc/profile:

export SYSTEMD_PAGER=cat

https://unix.stackexchange.com/a/429961/282849

You will also need to modify your sudoers file:

 Defaults        env_keep += "SYSTEMD_PAGER"