Grilled Cheese

ExploreLog inSign up

LinuxTeck

@linuxteck.bsky.social

151 Following133 Followers

Linux tips, CLI tools & real-world sysadmin lessons

Helping beginners → advanced users improve their daily Linux workflow

LinuxTeck | Tutorials • Tools • Mistakes • Learnings https://www.linuxteck.com/

PostsRepliesMedia
@linuxteck.bsky.socialDec 5, 2026, 6:17 AM

Follow @linuxteck - 1 practical Hosting tip every day. For more #HostingTips click here www.linuxteck.com/hosting-tips/

@linuxteck.bsky.socialDec 5, 2026, 6:17 AM

Quick HostingTip #3: Block SSH brute-force attacks with fail2ban try sudo apt install -y fail2ban && printf '[sshd]\nenabled = true\nmaxretry = 4\nbantime = 1h\nfindtime = 10m\n' | sudo tee /etc/fail2ban/jail.d/sshd.local > /dev/null && sudo systemctl restart fail2ban [email protected]

Install Fail2ban on Linux to Block SSH Brute Force Attacks
@linuxteck.bsky.socialDec 5, 2026, 5:20 AM

Want to master Linux one command at a time?
Follow @linuxteck - 1 practical Linux tip every day. For more #LinuxTips click here www.linuxteck.com/linux-tips/

@linuxteck.bsky.socialDec 5, 2026, 5:20 AM

Quick Linux Tip #140

Q: How do I chain commands safely in shell scripts?

Try:set -euo pipefail && cd /opt/app && git pull && make test && make deploy && systemctl reload myapp

Info: Exits on error and chains safe commands.

Follow @linuxteck.bsky.social - 1 practical Linux tip every day.

Bash Strict Mode: Use set -euo pipefail Safely
@linuxteck.bsky.socialDec 4, 2026, 12:30 PM

Get Newer Software on Debian Without Switching to Testing

www.linuxteck.com/debian-backp...

Did you know Debian Stable can run selected newer software packages without moving your whole system to Testing

Keep your stable base. Upgrade selectively

#linuxteck #Debian #Linux @linuxteck.bsky.social

Debian 13 Backports
@linuxteck.bsky.socialDec 4, 2026, 5:30 AM

Follow @linuxteck - 1 practical Hosting tip every day. For more #HostingTips click here www.linuxteck.com/hosting-tips/

@linuxteck.bsky.socialDec 4, 2026, 5:30 AM

Quick Hosting Tip #2: Measure TTFB

- Cached pages: often under 0.2s
- ~0.8s: often uncached app/DB work
- TTFB minus TLS (~0.76s here): post-TLS + server time

Test yours:
curl -o /dev/null -s -w 'TLS: %{time_appconnect}s\nTTFB: %{time_starttransfer}s\n' example.com

Follow @linuxteck.bsky.social

How to Measure Time To First Byte (TTFB) Using Linux curl
@linuxteck.bsky.socialDec 4, 2026, 5:15 AM

Want to master Linux one command at a time?
Follow @linuxteck - 1 practical Linux tip every day. For more #LinuxTips click here www.linuxteck.com/linux-tips/

@linuxteck.bsky.socialDec 4, 2026, 5:14 AM

Quick Linux Tip #139

Q: How do I verify a user in LDAP/AD exists before adding them?

Try:ldapsearch -x -H ldap://ldap.example.com -b 'dc=example,dc=com' -D 'cn=admin,dc=example,dc=com' -W '(uid=jsmith)' cn mail

Info: Queries LDAP/AD directories for matching users.

Follow @linuxteck.bsky.social

Verify LDAP Users in Linux Using ldapsearch
@linuxteck.bsky.socialDec 3, 2026, 5:29 PM

Follow @linuxteck - 1 practical Hosting tip every day. For more #HostingTips click here www.linuxteck.com/hosting-tips/

@linuxteck.bsky.socialDec 3, 2026, 5:29 PM

Quick Hosting Tip #1: Shared, VPS, cloud, or dedicated?

• Shared: many sites, no root
• VPS: virtual slice + root
• Cloud: hourly VMs + scaling
• Dedicated: full physical server

Check yours:
systemd-detect-virt; nproc; free -h | awk '/Mem/{print "RAM: "$2}'

Follow @linuxteck.bsky.social

Four Types of Hosting Explained: Shared, VPS, Cloud & Dedicated
@linuxteck.bsky.socialDec 3, 2026, 7:57 AM

Want to master Linux one command at a time?
Follow @linuxteck - 1 practical Linux tip every day. For more #LinuxTips click here www.linuxteck.com/linux-tips/

@linuxteck.bsky.socialDec 3, 2026, 7:57 AM

Quick Linux Tip #138

Q: I have a .deb file. How do I install it including its dependencies?

Try:sudo apt install ./package.deb

Info: Installs a local .deb package and resolves dependencies.

Want to master Linux one command at a time?
Follow @linuxteck.bsky.social - 1 Linux tip every day.

Install Local DEB Packages on Linux Using APT
@linuxteck.bsky.socialDec 2, 2026, 5:28 AM

Want to master Linux one command at a time?
Follow @linuxteck - 1 practical Linux tip every day. For more #LinuxTips click here www.linuxteck.com/linux-tips/

@linuxteck.bsky.socialDec 2, 2026, 5:27 AM

Quick Linux Tip #137

Q: How many physical CPU cores does my server actually have?

Try: lscpu | grep -E 'Socket|Core|Thread'

Info: Calculates physical cores vs. logical threads.

Want to master Linux one command at a time?
Follow @linuxteck.bsky.social - 1 practical Linux tip every day.

Linux Physical CPU Cores: Check Cores and Threads
@linuxteck.bsky.socialDec 1, 2026, 5:04 AM

Want to master Linux one command at a time?
Follow @linuxteck - 1 practical Linux tip every day. For more #LinuxTips click here www.linuxteck.com/linux-tips/

@linuxteck.bsky.socialDec 1, 2026, 5:04 AM

Quick Linux Tip #136

Q: How do I update a config value in 500 files at once, safely?

Try:sed -i.bak 's/debug=true/debug=false/g' /etc/myapp/*.conf

Info: Edits files in place and keeps .bak backups.

Want to master Linux one command at a time?
Follow @linuxteck.bsky.social - 1 Linux tip every day.

Update Multiple Config Files with sed Safely
@linuxteck.bsky.socialNov 30, 2026, 9:03 AM

Managed vs Unmanaged VPS - Which One Fits Your Needs?

www.linuxteck.com/managed-vs-u...

Managed VPS offers help with server maintenance and administration. Unmanaged VPS gives you greater control and typically lower costs, but requires skills.

#LinuxTeck #Linux #VPS #DevOps #SysAdmin

Managed vs Unmanaged VPS
@linuxteck.bsky.socialNov 29, 2026, 6:06 PM

Want to master Linux one command at a time?
Follow @linuxteck - 1 practical Linux tip every day. For more #LinuxTips click here www.linuxteck.com/linux-tips/

@linuxteck.bsky.socialNov 29, 2026, 6:06 PM

Quick Linux Tip #135 Question: What files on my server can anyone write to? (security audit) Try: sudo find / -type f -perm -o+w ! -path '/proc/*' ! -path '/sys/*' 2>/dev/null | head -20 Info: Finds world-writable files to spot security risks. Follow @linuxteck - 1 practical Linux tip every day

Linux World-Writable Files: Find Security Risks
Older posts
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-12-03 22:42:33 EST