Stuck with a Linux system with 0% free disk space? If your Linux system is a CentOS system you could try running the following:
yum clean all && rm -f /var/log/messages-* /var/log/cron-* /var/log/secure-* /var/log/spooler-* /var/log/maillog-* /var/log/lastlog-*
What does that command do?
It first clears any temporary files or cache that the yum package manager has stored (harmless to do) it then clears old system log files, it leaves the most recent log files in place and only clears the older archived log files.
Check how much free space is available on your system
Run:
df -h
And you may see an output similar to this (obviously your values may vary):
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 28G 4.5G 22G 17% /
tmpfs 1.9G 0 1.9G 0% /dev/shm
Narrowing down where space is being used
If you have the ‘ncdu’ tool installed on your Linux system then now may be a good time to use it, you could try changing directory to your root path / or /home/ and then using ncdu which will show you visually where your space is being consumed.