Linux - Disk investigation: Difference between revisions
Jump to navigation
Jump to search
(Created page with "==Check what files and folders are using up filesystem== <pre> $ sudo du -sh /* </pre> ==What mount / partition a file or folder is on== <pre> $ sudo df -P '''file/goes/he...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
</pre> | </pre> | ||
==What mount | ==What device is a mount point on== | ||
<pre> | <pre> | ||
$ sudo df -P ''' | $ sudo df -P '''/mount/point''' | tail -1 | cut -d' ' -f 1 | ||
</pre> | </pre> |
Latest revision as of 15:50, 29 March 2018
Check what files and folders are using up filesystem
$ sudo du -sh /*
What device is a mount point on
$ sudo df -P '''/mount/point''' | tail -1 | cut -d' ' -f 1