Quantcast
Channel: Developer Feed - Unix
Viewing all articles
Browse latest Browse all 10

How to find a list of files greater than a given size in Unix?

$
0
0

Solution

Use the find command with ls command to find a list of file in the current directory that are over 1000k or 1MB 

find . -size +1000k -print0 | xargs -0 ls -lSh

Output

read more


Viewing all articles
Browse latest Browse all 10

Trending Articles