#ltmlinuxtips — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #ltmlinuxtips, aggregated by home.social.
-
#LTMLinuxTips – Day 15
🛑 Kill a process by name
Instead of looking for PIDs manually, kill by name:
pkill firefox
Or kill all matching processes forcefully:
pkill -9 firefox
Clean, quick, and efficient process management.
-
#LTMLinuxTips – Day 14
🔋 Check battery status from the terminal
For laptops, see battery % and status:
upower -i $(upower -e | grep BAT)
Gives detailed info on charge level, capacity, and health without a GUI.
-
#LTMLinuxTips – Day 13
📅 View your system’s last reboot history
last reboot
A quick way to see when your system was rebooted and confirm uptime patterns.
-
#LTMLinuxTips – Day 12
🚨 Audit recent sudo use for suspicious activity
Check recent sudo activity: sudo journalctl _COMM=sudo
Look for unusual users or unfamiliar commands that may indicate suspicious elevated sessions—an essential habit for keeping your Linux system secure.
-
#LTMLinuxTips – Day 11
🧹 Clean up package cache and free space
On Debian/Ubuntu:
sudo apt clean
On Fedora:
sudo dnf clean all
On Arch:
sudo pacman -Sc
Keep your system lean by clearing outdated cache files.
-
#LTMLinuxTips – Day 10
🎛️ Display hardware info (CPU, RAM, etc.)
inxi -F
A powerful, human-readable system overview.
📦 Install it with:
Debian/Ubuntu: sudo apt install inxi
Fedora: sudo dnf install inxi
Arch: sudo pacman -S inxi -
#LTMLinuxTips - Day 9
⏱️ Show how long your system has been running
uptime -p
🛌 Maybe it's time to let your system catch some Zzzs
-
#LTMLinuxTips - Day 8
🌐 Test DNS resolution from terminal:
dig example.com
Great for troubleshooting domain issues.
-
#LTMLinuxTips - Day 7
📆 Display calendar in terminal:
cal 2025
Quickly view monthly or yearly calendars without leaving the terminal.
-
#LTMLinuxTips - Day 6
🔒 List active listening ports from terminal:
sudo lsof -i -P -n | grep LISTEN
Great for checking open ports and running services.
-
#LTMLinuxTips - Day 5
🗺️ Check your public IP From terminal (with more detail):
curl -s https://ipinfo.io
Useful for remote access or VPN checks.
-
#LTMLinuxTips - Day 4
Need a quick history recall? Use: history | tail
Start typing—press it again to cycle!
-
#LTMLinuxTips - Day 4
Need a quick history recall? Use: history | tail
Start typing—press it again to cycle!
-
#LTMLinuxTips - Day 4
Need a quick history recall? Use: history | tail
Start typing—press it again to cycle!
-
🐧 #LTMLinuxTips - Day 3
Forget to use sudo? Don't retype everything: sudo !!
It reruns your last command as root. Saved me more times than I can count!
-
🐧 #LTMLinuxTips - Day 3
Forget to use sudo? Don't retype everything: sudo !!
It reruns your last command as root. Saved me more times than I can count!
-
🐧 #LTMLinuxTips - Day 3
Forget to use sudo? Don't retype everything: sudo !!
It reruns your last command as root. Saved me more times than I can count!
-
🐧 #LTMLinuxTips - Day 2
Want to quickly find out what distro you're using?
Run: cat /etc/os-release
This gives you detailed info like distro name, version, and more.
-
🐧 #LTMLinuxTips - Day 2
Want to quickly find out what distro you're using?
Run: cat /etc/os-release
This gives you detailed info like distro name, version, and more.
-
🐧 #LTMLinuxTips - Day 2
Want to quickly find out what distro you're using?
Run: cat /etc/os-release
This gives you detailed info like distro name, version, and more.