Ask Your Question

How to have a "stop point" when you are in terminal mode? (no under GUI)

asked 2016-04-23 07:45:23 -0500

Hadden gravatar image

I'll try to explain with an example, that probably is better. XD

I remove xorg for mistake and obviously x won't work anymore. I decide to see what packages are related to xorg So, in a textual prompt as root I do

dnf search xorg

At this point, the command will give a lot of results (all the packages related) and you only see the last ones How to says to the terminal to stop after list a full page of text? How to scroll the list or go to the next page view?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-04-23 08:07:11 -0500

vtrefny gravatar image

updated 2016-04-23 08:08:52 -0500

Use Shift + Page Up/Down or

dnf search xorg | less

This will just redirect output of the dnf command to less. You can use arrows or Page Up/Down to navigate, q to exit and /something to search (n for next, shift+n for previous).

edit flag offensive delete link more

Question Tools


Asked: 2016-04-23 07:45:23 -0500

Seen: 51 times

Last updated: Apr 23 '16