Situatie
Solutie
Step 1: Open Terminal
Open your terminal. You can usually do this by pressing Ctrl + Alt + T
.
Step 2: Find Large Files
Use the find
command to locate large files. For example, to find files larger than 100MB in your home directory, you can use:
find ~/ -type f -size +100M
!Find Large Files
Step 3: Review the List
Review the list of large files. Make sure you don’t delete any important files.
Step 4: Delete Unnecessary Files
Once you’ve identified the files you want to delete, use the rm
command to remove them. For example:
rm ~/path/to/largefile
!Delete Files
Step 5: Verify Deletion
You can verify the deletion by running the find
command again or checking your disk space with:
df -h
!Verify Deletion
Leave A Comment?