In a long line in systemctl status
it's necessary to scroll horizontally which makes it quite hard to copy the output. Is there a way to get linebreaks at the end of terminal (like nano -$
would do)?
I'm not looking for a workaround like redirecting the output into a temporary file and displaying it with an editor which supports the output.
I'm using Ubuntu 15.10.
You could use the
--no-pager
option in conjunction with the--full
option, which will force the lines to wrap:If you want to preserve the paging functionality, you can just pipe the output of
systemctl status
toless
/more
directly, since connecting the command's STDOUT to a pipe will force the command to print a raw output: