Environment
Novell Open Enterprise Server
SUSE Linux Enterprise Server
Situation
How to identify, find, locate, determine large or big files in linux.
Resolution
Identifying files over 1GB anywhere on the filesystem. From a terminal window, enter:
nice find / -size +1G -exec ls -lhs {} \; 2>/dev/null
Identifying files over 500MB starting from a specific path. From a terminal window, enter:
nice find / -size +500M -exec ls -lhs {} \; 2>/dev/null
Identifying files over 500kb starting from a specific path. From a terminal window, enter:
nice find / -size +500k -exec ls -lhs {} \; 2>/dev/null
nice find / -size +1G -exec ls -lhs {} \; 2>/dev/null
Identifying files over 500MB starting from a specific path. From a terminal window, enter:
nice find / -size +500M -exec ls -lhs {} \; 2>/dev/null
Identifying files over 500kb starting from a specific path. From a terminal window, enter:
nice find / -size +500k -exec ls -lhs {} \; 2>/dev/null