Silly Linux question!

Discussion in 'Server Operation' started by willebanks, Jul 9, 2006.

  1. willebanks

    willebanks New Member

    Howdy ladies and gents

    Is there a way to pause or scroll the screen output from the "ls" command or any other directory command...I am forcing myself to use the Linux command line only and it is fustrating not being able to control screen flow!

    Thanks
     
  2. platd

    platd New Member

    ls |more
    ls |less
     
  3. willebanks

    willebanks New Member

    You guys are awesome...not sure why thats not in the Essential System Administrator pocket reference from O'Reilly!

    Any way thanks platd...you helped me up one more step on the Linux ladder!

    Will
     
  4. platd

    platd New Member

  5. sjau

    sjau Local Meanie Moderator

    what I normally do is:

    ls > output.txt

    nano output.txt
     
  6. willebanks

    willebanks New Member

    Thanks sjau...

    I use output redirects when I know a file will scroll off the screen...and it also helps if I need to compare output for changes...the more and less commands are in the new Linux+ book (I have 2) I just didn't remember reading about them until after platd answer...but thanks for the help anyway!

    Can always use the additional info!
     

Share This Page