LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Terminal Window (https://www.linuxquestions.org/questions/linux-newbie-8/terminal-window-643574/)

Blackmon 05-20-2008 01:47 PM

Terminal Window
 
When I'm using the terminal window and I type a command the list information or instructions that exceeds the width of the screen how do I toggle up or down to see the information that is not on the screen?

Tinkster 05-20-2008 02:12 PM

Depends on your terminal and/or DE/WM ... the "safest" way would be to
use less and pipe the info into that.

E.g.:

ls -l | less


Then you should be able to use the cursor and page keys to
navigate up and down failing that f & b to page forward and
backward.


Cheers,
Tink

pixellany 05-20-2008 03:12 PM

If you use something like Konsole, you have a scroll bar.

The other tool to learn is grep. Suppose you want to list a directory, but only display files with "lib" in the name:

ls | grep lib

STARHARVEST 05-20-2008 08:00 PM

try shift+page up/down


All times are GMT -5. The time now is 03:08 AM.