User Tools

Site Tools


linux:oel:free-disk-space

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:oel:free-disk-space [2024/10/18 15:52] – created odeftalinux:oel:free-disk-space [2025/01/02 16:57] (current) odefta
Line 1: Line 1:
-====== Commands to free up disk space ======+====== Commands to view / free up disk space ======
  
 <code bash> <code bash>
 journalctl --vacuum-size=100M journalctl --vacuum-size=100M
 +find /var/log -type f -exec truncate -s 0 {} \;
 package-cleanup --leaves package-cleanup --leaves
 package-cleanup --orphans package-cleanup --orphans
 +find / -type f -size +500M
 </code> </code>
  
linux/oel/free-disk-space.1729255954.txt.gz · Last modified: 2024/10/18 15:52 by odefta