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 .
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!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.