User Tools

Site Tools


ubuntu:directory:find_largest_and_smallest_directories

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ubuntu:directory:find_largest_and_smallest_directories [2020/02/25 22:22] peterubuntu:directory:find_largest_and_smallest_directories [2020/07/15 09:30] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Ubuntu - Directory - Find largest and smallest directories ====== ====== Ubuntu - Directory - Find largest and smallest directories ======
 +
 +===== Find Largest Directories And Files =====
  
 To find out the top largest ten directories and files in the current working directory, just run: To find out the top largest ten directories and files in the current working directory, just run:
Line 57: Line 59:
  
 You have now basic idea about how to find the largest files and directories.  You have now basic idea about how to find the largest files and directories. 
 +
 +
 +<code bash>
 +du -a -h –max-depth=1 | sort -hr
 +</code>
  
 ---- ----
ubuntu/directory/find_largest_and_smallest_directories.1582669357.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki