Lynxbee topic

Linux

Fix dpkg Dependency Errors on Ubuntu Safely

Prefer `apt install ./package.deb` so Ubuntu can resolve repository dependencies in one transaction. If `dpkg -i` already left packages unpacked or unconfigured, diagnose the exact state, repair it without blind removals, and verify the package database.

Identify a Device by IP Address on Linux Safely

An IP address is a starting clue, not a complete device identity. Correlate Linux routing and neighbour data with DNS, DHCP or cloud inventory, then use the smallest authorized Nmap probe that answers the remaining question.

Resume Large File Transfers over Unstable SSH

Use `rsync` over SSH as a restartable transfer protocol: keep partial data, rerun the same command after a disconnect, publish only after checksum verification, and avoid exposing a temporary HTTP server.

Safely Rename Parts of Filenames and File Content

Renaming `memory_map.c` to `memory_mapping.c` and changing identifiers inside source files are separate operations. This guide previews both, handles unusual filenames, refuses collisions, keeps backups, and makes rollback practical.

Convert AVI to MP4 with HandBrake on Ubuntu

A practical Ubuntu workflow for turning AVI and other supported sources into broadly compatible MP4 video. Use HandBrake’s official Flatpak, choose a preset intentionally, protect the source, and verify video, audio, subtitles, and playback.

Fix “No Address Associated with Hostname” on Linux

The error means the resolver could not return a usable address for the requested name and address family. Diagnose the same NSS path the application uses before editing `/etc/hosts`, changing DNS, or flushing caches.

Connect to an Amazon EC2 Linux Instance with SSH

Connect to an EC2 Linux instance without weakening its security: verify the instance and host key, protect the SSH private key, choose the correct AMI username and address, restrict ingress, and diagnose timeout versus authentication failures.

Install Apache on Amazon Linux 2023 EC2

Deploy Apache HTTP Server on an Amazon Linux 2023 EC2 instance, verify each network layer, publish content with controlled permissions, and understand what changes for legacy Amazon Linux 2 hosts.

Monitor CPU, Memory, I/O and Processes on Linux

A high load average, low “free” memory, or busy disk is a clue—not a root cause. Use interval-based Linux tools to separate CPU saturation, memory reclaim, swap, storage latency, network load, process behavior, and cgroup pressure before restarting or killing anything.

Find Linux Disk Usage with ncdu Safely

ncdu turns a recursive disk-usage scan into a fast terminal browser, but its delete key deserves the same respect as `rm`. Start read-only, stay on the intended filesystem, export remote scans for offline analysis, and confirm why `df`, `du`, and ncdu may report different numbers.

Engineering weekly

Useful technical knowledge, not inbox noise.

Receive verified fixes, references, labs, and tools. Confirm by email; unsubscribe any time.