Tmux Basics: Keep Sessions Alive When SSH Drops
A loop in a plain shell died with its terminal; the same loop in tmux kept counting. Sessions, detach and attach, panes, and a tested…
Science, Technology and the Physics Underneath
A loop in a plain shell died with its terminal; the same loop in tmux kept counting. Sessions, detach and attach, panes, and a tested…
A hard reset or deleted branch rarely destroys commits. Tested steps to get them back with git reflog and git fsck, plus the cases nothing…
Merge ties two lines of work together; rebase replaces commits with new ones. Tested examples show the golden rule, force-with-lease, and repeat conflicts.
A cp of a busy SQLite file failed integrity checks 18 times in 30. Tested steps for safe live backups with .backup and VACUUM INTO,…
Errno 98, address already in use. Tested ss, lsof and fuser commands to name the process, plus TIME_WAIT, wildcard binds and why non-root output goes…
df said 158M used, du said 98M. Tested du, ncdu and find commands, plus deleted-but-open files, ext4 reserved blocks, inode exhaustion and the journal.
A two-core test box hit a load of 3.46 with its CPUs 98% idle. What Linux load average counts, the 1993 patch behind it, and…
A test cgroup ran out of memory and the kernel killed the process that asked for nothing. How oom_badness picks, how to read dmesg, and…
chmod 755 on a directory left it at 2755. Octal permission bits explained with tested output: 755, 644, 600, setuid, sticky /tmp, and the umask…
A worked Docker Compose file for a self-hosted service: compose anatomy, named volumes, restart policies, healthchecks, updating images with pull and up, and backing up…
