Advertisement Β· 728 Γ— 90
#
Hashtag
#LTMLinuxTips
Advertisement Β· 728 Γ— 90
πŸ›‘ Kill a process by name

πŸ›‘ Kill a process by name

#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

4 2 0 0
πŸ”‹ Check battery status from the terminal

πŸ”‹ Check battery status from the terminal

#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

6 0 0 0
last reboot

last reboot

#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

2 0 1 0
sudo journalctl _COMM=sudo

sudo journalctl _COMM=sudo

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

#Linux #Security #Privacy #OpenSource

2 0 0 0
🧹 Clean up package cache and free space

🧹 Clean up package cache and free space

#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

2 0 0 0
Display hardware info (CPU, RAM, etc.)

Display hardware info (CPU, RAM, etc.)

#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

5 1 0 0
⏱️ Show how long your system has been running

⏱️ Show how long your system has been running

#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

3 0 1 0
Test DNS resolution from terminal

Test DNS resolution from terminal

#LTMLinuxTips - Day 8

🌐 Test DNS resolution from terminal:

dig linuxtechmore.com

Great for troubleshooting domain issues.

#Linux #Networking #OpenSource #CommandLine

4 0 0 0
Display calendar in terminal:

Display calendar in terminal:

#LTMLinuxTips - Day 7

πŸ“† Display calendar in terminal:

cal 2025

Quickly view monthly or yearly calendars without leaving the terminal.

#Linux #CLI #Productivity #OpenSource

7 0 0 0
List active listening ports

List active listening ports

#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

5 1 0 0
Check your IP

Check your IP

#LTMLinuxTips - Day 5

πŸ—ΊοΈ Check your public IP From terminal (with more detail):

curl -s ipinfo.io

Useful for remote access or VPN checks.

#LinuxNetworking #Privacy #Linux #OpenSource

2 1 0 0
Show recently used commands

Show recently used commands

#LTMLinuxTips

Need a quick history recall? Use: history | tail

Start typingβ€”press it again to cycle!

#LinuxTricks #CLI #Linux #OpenSource

2 0 0 0
Forget to use sudo? Don't retype everything: sudo !!

Forget to use sudo? Don't retype everything: sudo !!

🐧 #LTMLinuxTips

Forget to use sudo? Don't retype everything: sudo !!

It reruns your last command as root. Saved me more times than I can count!

#LinuxTips #LinuxTricks #CLI #OpenSource #Linux

2 0 1 0