Download your favorite Linux distribution at LQ ISO.
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 06-22-2003, 10:17 AM   #1
Registered: Jan 2003
Location: UK
Distribution: Red Hat 9 FC2
Posts: 51

Rep: Reputation: 15
command to display one screenful

Can anyone tell me what the bash2 command is for displaying one screenful of files/dirs ( the dos comand is dir /p )

also how do i display just the names of the subdirs without all the files in these subdirs ?

I do not know what is in the dir to start with and want to view the dirs in it. Like for instance the tree structure of linux

thankyou for any comments ....


ps read the book but still none the wiser on this score .
also read man ,help ,info etc but cannot find this command
Old 06-22-2003, 10:21 AM   #2
Registered: Feb 2002
Location: Fairfax, VA
Distribution: RedHat 8, Mandrake9.1, Slack9
Posts: 456

Rep: Reputation: 31
the bash command is 'more' or 'less' . just pipe the output to these commands.

to display only directories you can use 'find' with -d option.

'man find' for more options
Old 06-22-2003, 11:19 AM   #3
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 252Reputation: 252Reputation: 252
less if a better option than more


ls -al /usr/bin | less
Old 06-22-2003, 03:12 PM   #4
Registered: Jan 2003
Location: UK
Distribution: Red Hat 9 FC2
Posts: 51

Original Poster
Rep: Reputation: 15
ok great ! thanks manthram and trickykid .


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
Command to display CPU satimis Linux - Newbie 4 09-13-2004 12:34 PM
send to display command BlandoCal Linux - Software 0 05-17-2004 05:12 PM
Command to display version o2sk8 Linux - Software 3 04-15-2004 07:45 PM
Command to display whole filestructure hierarchy f/ command line? mjewell Linux - Newbie 10 01-19-2004 11:48 AM
Display Command AnthonyM Linux - General 3 05-30-2002 04:02 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:22 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration