Thread: cd command in linux console

  1. #1
    Registered User
    Join Date
    Nov 2002
    Posts
    32

    cd command in linux console

    i typed cd /dev/ it wen to the dev directory. then i press ls which abviously listed the directory contents. but since the dev directory is so huge a lot of it fell offscreen. is there a command similar to dos's dir /p so that you can onyl see a screen worth of text at a time
    Last edited by TheUnheardHuman; 11-18-2002 at 05:03 PM.
    Silent to All
    -Those who live by the sword get shot by those who don't.

  2. #2
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    Code:
    ls | more
    This example is piping (the | symbol) the output from the ls command into the more program, which will display you a page full at a time.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  3. #3
    Registered User xlnk's Avatar
    Join Date
    Mar 2002
    Posts
    186
    also

    cd | less

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Making a virtual console (Linux)
    By Moddy in forum C++ Programming
    Replies: 2
    Last Post: 12-16-2005, 12:54 PM
  2. linux console "window"
    By puu in forum Linux Programming
    Replies: 4
    Last Post: 12-13-2005, 04:26 PM
  3. Linux Linux why Linux??
    By afreedboy in forum Tech Board
    Replies: 146
    Last Post: 01-21-2004, 06:27 PM
  4. Replies: 3
    Last Post: 10-29-2003, 09:39 AM
  5. Linux? Windows Xp?
    By VooDoo in forum Linux Programming
    Replies: 15
    Last Post: 07-31-2002, 08:18 AM