LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-24-2012, 04:41 PM   #1
mfarber
LQ Newbie
 
Registered: Jan 2012
Posts: 1

Rep: Reputation: Disabled
Display all files below a directory path with their size from lowest to highest ....


that are over 20 MB in size. Thanks
 
Old 01-24-2012, 04:59 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
This works on my system:

Code:
find . -size +20M -printf "%s %p\n" | sort -g
 
1 members found this post helpful.
Old 01-24-2012, 07:10 PM   #3
Lunar
Member
 
Registered: Feb 2005
Location: Texas, USA
Distribution: opensuse
Posts: 106
Blog Entries: 1

Rep: Reputation: 8
Quote:
Originally Posted by suicidaleggroll View Post
This works on my system:
Works on mine (openSuSE) too... thanks..

Landis.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Present working directory path display help RHEL5* aggrishabh Linux - Newbie 3 06-23-2011 05:17 AM
LXer: Howto Display Size of Files Under Files in Ubuntu LXer Syndicated Linux News 0 04-20-2010 02:50 PM
awk sort function not sorting from lowest to highest. skuz_ball Programming 4 08-09-2008 12:20 AM
Setting the highest display resolution artemis Fedora 3 06-16-2004 02:32 AM
redhat command to display the size of directory please! sandrinechen Linux - Newbie 4 04-19-2004 03:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration