View Full Version : Silly Linux question!
willebanks
9th July 2006, 01:05
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
platd
9th July 2006, 11:46
ls |more
ls |less
willebanks
9th July 2006, 15:58
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
platd
9th July 2006, 16:53
no problem you might find this a handy read too
http://redshells.co.uk/redlight/unixtut/index.html
what I normally do is:
ls > output.txt
nano output.txt
willebanks
11th July 2006, 03:51
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!
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.