Questions tagged [du]
du is the standard Unix/Linux command to measure disk usage. Use this tag for questions specifically about the use of the du program.
3
questions
-1
votes
1
answer
653
views
Why do `ls` and `du` commands show a different size for the same file? [duplicate]
I am currently using Ubuntu 20.04.
When I check a file's size using the du command, I get the following output:
ubuntu@ip-172-31-49-39:/myxfs$ du -h newquota
4.0K newquota
With the ls -la command, ...
7
votes
2
answers
1k
views
Prevent du command report inflated info about /snap directories
I have an Ubuntu 20.04 server installed on a single 8GB drive. The default installation has some "snap"s installed also. So, there are some "squashfs" file systems also reported by the df command:
# ...
1
vote
1
answer
469
views
How to find out the size of recently downloaded files?
I have installed a bunch of development packages from the Ubuntu repositories today, and some of them seem to have had massive amounts of dependencies.
Out of curiosity — and to notify those who read ...