It is observed on the second Monday of February with the aim to encourage taking time out of your day to do some basic housekeeping on your computer.
Ineresting right? Here is a thread of a few cleaning tips for Linux users 🐧👇🧵
If you are running Ubuntu/Debian based distributions, run this command often to remove unwanted packages and old kernel headers:
💲 sudo apt autoremove
If you use Flatpak packages, you may remove unused packages with this command:
💲flatpak uninstall --unused
You can remove old versions of Snaps with this script:
#!/bin/bash
# CLOSE ALL SNAPS BEFORE RUNNING THIS
set -eu
snap list --all | awk '/disabled/{print $1, $3}' |
while read snapname revision; do
snap remove "$snapname" --revision="$revision"
done
If you use systemd, make sure that journal logs are cleaned automatically.
Check the disk usage with:
💲 journalctl --disk-usage
Set the log clearance to a few days like this:
💲 sudo journalctl --vacuum-time=3d
If you use Docker and have too many unusued images, you can remove both unused and dangling images with:
💲 docker image prune -a
Duplicate files also take up a lot of space. You may use tools like fdupes and fslint to find duplicate files and then decide if you want to remove the duplicate ones.
Software in Ubuntu repositories are divided into five categories:
→main
→universe
→multiverse
→restricted
→partner
Interested in knowing more about these official Ubuntu repositories?
Read this thread 🧵👇
𝗠𝗮𝗶𝗻
It has only FOSS (free and open source software) that can be distributed freely without any restrictions.
Software in this repository are fully supported by the Ubuntu developers. Ubuntu will provide security updates for these packages until your system reaches EOL.
𝗨𝗻𝗶𝘃𝗲𝗿𝘀𝗲
This repository also consists free & open source software but Ubuntu doesn’t guarantee regular security updates to software in this category.
Software in this category are packaged and maintained by the community and has a vast amount of open source software
Here are 5 books books I own and recommend for learning and understanding Linux 🎓🐧
👇Follow the thread 🧵
1. How Linux Works
This is what I recommend if you want to learn and understand the core functioning of Linux. How Linux Works is the perfect book if you are absolutely new or if you want to improve your Linux knowledge.
2. Linux Bible
This is perhaps the most comprehensive Linux book that covers a wide variety of topics. Running over 800 pages, you get everything from learning the basics of Linux command line to advanced sysadmin topics.