Help Guide For Software Engineer
Sunday, March 24, 2019
Sub directory size in Linux/Solaris
Following command can be used to retrieve directory sizes in Linux. Below command returns 5 largest files in any sub directory in /apps/ directory.
find /apps/ -type f -ls | sort -k 7 -r -n | head -5
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment