1

When I try to view something, in many cases I get a message saying lines X-Y/Y (END) and those are the only lines printed on my terminal. Here is an example from journalctl -xe:

enter image description here

I see the same from systemctl -a and things like that. How can I view the remaining text?

5
  • That seems like less. Press h to get help or read man less. Using up/down arrows should work, as should PageUp/PageDown,
    – choroba
    Nov 26, 2018 at 9:57
  • @choroba can you tell me a bit more? what you mean with less, as it I've given the example from journalctl -xe or systemctl -a or like that...
    – T.Todua
    Nov 26, 2018 at 10:01
  • thanks up-down works! post it as answer, and i'll mark
    – T.Todua
    Nov 26, 2018 at 10:02
  • The remaining text? You are already seeing the bottom of the text that you are viewing. Please clarify. Nov 26, 2018 at 11:18
  • 1
    journalctl and the other members of the systemd family use less as the output pager by default.
    – AlexP
    Nov 26, 2018 at 11:20

2 Answers 2

3

I think what you are looking for is an output using --no-pager

journalctl -xe --no-pager

You can use same by specifying a service also:

journalctl -u service-name --no-pager

1

It seems like your system is using less as a pager.

Press h when running less to get help. To learn more, run man less from the terminal.

TL;DR: PageUp, PageDown, , and should work in a standard way. q quits less.

1
  • 1
    Left and right arrow keys usually work as well (to see the whole lines). Nov 26, 2018 at 11:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .