LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 15
Question


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,
thanks
 
Old 03-20-2001, 04:28 AM   #2
mathi
Member
 
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
or
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" ")
 
  


Reply


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 11:00 PM
console term789 Red Hat 2 09-30-2003 01:11 PM
X server in console 1 crashes on return from console 2 fieldmethods Red Hat 4 09-05-2003 01:12 AM
Getting into console Pixel Linux - Newbie 2 03-01-2003 02:22 PM
console jayakrishnan Linux - General 3 08-24-2002 12:12 PM


All times are GMT -5. The time now is 09:59 AM.

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