Listing latest & large files from a mounted drive

Hi All,

My AIX server have a mounted drive "/stage". I want to list the latest modified/created files in this drive. Also large files in this drive.

I tried to ls -l | sort +4nr | head -10

Someother solutions to list from entire drive.

Thanks. :slight_smile:

Hi,

find

would be better option with

ls -l

Cheers,
Ranga :slight_smile:

Someone plz give the full command todo this.

find /stage1 -type f -printf 'format \n'

for the format it's written into the man page.

I think it will list the files....but my case is two generate the following 2 o/ps:

  1. I have to list large files in /stage1 (Say some 15)
  2. Latest created or modified files in /stage1 (Say 20)

Some one plz solve this!

To beg is the best way to not get any answers...
In your previous post you say "I think..."
Why?
Have you not tried the given solution?
If so what doesnt suit your request: Be more explicit! We are not going to do the work for you...