Skip to content

Tag: linux

All the articles with the tag "linux".

Why Your Docker Container Ignores Ctrl+C

Why Your Docker Container Ignores Ctrl+C

· Updated:

PID 1 in a container ignores signals, so Ctrl+C does nothing and stops take 10 seconds. Fix it with exec form CMD or tini, ranked best to worst approach.

Disabling Discord’s Activity Tracking

Disabling Discord’s Activity Tracking

· Updated:

Discord tracks what you're running. Here's how to turn off activity status, game detection, and telemetry so your app habits stay private.

Optimize Ubuntu Logs: btmp Log Rotation

Optimize Ubuntu Logs: btmp Log Rotation

· Updated:

btmp logs failed logins and grows forever on internet-facing servers. Set up logrotate to keep it under control before your disk fills up.

the lost+found Directory in Linux

the lost+found Directory in Linux

· Updated:

What is lost+found and why does it exist? fsck puts recovered file fragments there after a crash, and no, you can't delete it.

Understanding printf vs echo in Bash

Understanding printf vs echo in Bash

· Updated:

echo is convenient but inconsistent across systems; printf is portable and precise, know when to use each and avoid the gotchas.

Understanding Grep: A Comprehensive Guide

Understanding Grep: A Comprehensive Guide

· Updated:

grep is more powerful than you think, regex patterns, context flags, recursive search, and piping tricks that save hours of log digging.