Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-19-2001, 12:46 PM   #1
Registered: Feb 2001
Location: MI
Posts: 67

Rep: Reputation: 15

i like to use the console, but i can't figure out how to freeze the output to fit the screen on a dir or ls command (like dir/p in M$dos).i did a "ls --help", but half of the text is off the screen

that would be great,
Old 03-20-2001, 03:28 AM   #2
Registered: Nov 2000
Distribution: Slackware
Posts: 74

Rep: Reputation: 15
When using a virtual terminal (on a vga card), you can use Shift-PgUp to scroll up. To suppress scrolling on a real long dump, you can use the compination Ctrl-S/Ctrl-Q, on any terminal. The most common way though is pipe it to the programms more or less. For example:
ls --help | more
find | grep "\.[ch]$" | less
(which is a cryptic way to say "show me all files and their directories relative to pwd in and under pwd which end on ".c" or ".h" ")


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Run Win32 Console App in linux Console Lokie Linux - Software 2 08-12-2004 10:00 PM
console term789 Red Hat 2 09-30-2003 12:11 PM
X server in console 1 crashes on return from console 2 fieldmethods Red Hat 4 09-05-2003 12:12 AM
Getting into console Pixel Linux - Newbie 2 03-01-2003 01:22 PM
console jayakrishnan Linux - General 3 08-24-2002 11:12 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:48 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration