I ran this command in SSH to a linux server:
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?Code:find . -maxdepth 1 -type d -print | xargs du -sk | sort -rn
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 ...
I ran this command in SSH to a linux server:
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?Code:find . -maxdepth 1 -type d -print | xargs du -sk | sort -rn
You can send the information to a file:
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 > myLog.txt
Code:find . -maxdepth 1 -type d -print | xargs du -sk | sort -rn | lessCode:find . -maxdepth 1 -type d -print | xargs du -sk | sort -rn | more