#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.

#Linux #SysAdmin #CLI #OpenSource

#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.

#Linux #LinuxLaptop #CLI #OpenSource

#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.

#Linux #SysAdmin #CLI #OpenSource

#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.

#Linux #Security #Privacy #OpenSource

#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.

#Linux #CLI #SysAdmin #OpenSource

#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

#Linux #SystemInfo #CLI #OpenSource

#LTMLinuxTips - Day 9

⏱️ Show how long your system has been running

uptime -p

πŸ›Œ Maybe it's time to let your system catch some Zzzs

#Linux #OpenSource #CLI #Terminal

#LTMLinuxTips - Day 8

🌐 Test DNS resolution from terminal:

dig example.com

Great for troubleshooting domain issues.

#Linux #Networking #OpenSource #CommandLine

#LTMLinuxTips - Day 7

πŸ“† Display calendar in terminal:

cal 2025

Quickly view monthly or yearly calendars without leaving the terminal.

#Linux #CLI #Productivity #OpenSource

#LTMLinuxTips - Day 6

πŸ”’ List active listening ports from terminal:

sudo lsof -i -P -n | grep LISTEN

Great for checking open ports and running services.

#Linux #OpenSource #CyberSecurity #Networking