Question

How can I access the folder (.)?

How can I access the folder (.)? It has 9.8G and I need to see what it is.

root@LCR0801:/# sudo du -h --max-depth=1 -x 9.4M ./etc 16M ./sbin 4.0K ./mnt 15M ./bin 2.6G ./var 8.0K ./snap 259M ./lib 11M ./opt 8.0K ./srv 88K ./root 113M ./boot 1.6G ./backup 4.0K ./media 3.2G ./home 16K ./lost+found 4.0K ./lib64 84K ./tmp 2.2G ./usr 9.8G .


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

In Linux, the . folder means the current folder that you are in.

So this means that the current folder that you are in has the size of 9.8G which is basically the total size of all sub-directories and files in there. Or in your case, you can ignore the . directory, and check the rest of the directories listed there.

For more information, you can follow the steps here:

https://www.digitalocean.com/community/questions/28-no-space-left-on-device-error

Let me know if you have any questions.

Best,

Bobby