Stop the scrolling

This is a discussion on Stop the scrolling within the Tech Board forums, part of the Community Boards category; I ran this command in SSH to a linux server: Code: find . -maxdepth 1 -type d -print | xargs ...

  1. #1
    Registered User
    Join Date
    Dec 2004
    Posts
    43

    Stop the scrolling

    I ran this command in SSH to a linux server:

    Code:
    find . -maxdepth 1 -type d -print | xargs du -sk | sort -rn
    It prints out so much that I cant read it because it scrolls off the top of the screen. How do I stop this happening?

  2. #2
    UT2004 Addict Kleid-0's Avatar
    Join Date
    Dec 2004
    Posts
    656
    You can send the information to a file:
    Code:
    find . -maxdepth 1 -type d -print | xargs du -sk | sort -rn > myLog.txt
    Or you can let out the information slowly using less or more commands:
    Code:
    find . -maxdepth 1 -type d -print | xargs du -sk | sort -rn | less
    Code:
    find . -maxdepth 1 -type d -print | xargs du -sk | sort -rn | more

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. fscanf %s or %d integer input space char stop question...
    By transgalactic2 in forum C Programming
    Replies: 5
    Last Post: 04-14-2009, 10:44 AM
  2. Error stop Http Listener
    By George2 in forum C# Programming
    Replies: 1
    Last Post: 06-04-2008, 02:14 AM
  3. when a while loop will stop ?
    By blue_gene in forum C Programming
    Replies: 13
    Last Post: 04-20-2004, 03:45 PM
  4. Telling other applications to stop
    By nickname_changed in forum Windows Programming
    Replies: 11
    Last Post: 09-25-2003, 12:47 AM
  5. Bitmap scrolling with scroll bars
    By solar3147 in forum Windows Programming
    Replies: 0
    Last Post: 03-17-2003, 01:39 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21