Linux
Operating systems, shells, processes, filesystems, networking fundamentals, and server operations.
Articles
29 totalLinux > vs. >>: Why echo Replaced Your File Instead of Appending
Compare overwrite and append redirection using a temporary file, including why a failed command can still empty the output file.
Linux3 min
Linux absolute vs relative paths: Why cd logs differs from cd /logs
Use pwd to locate the working directory, trace cd logs and cd /logs, and check where you remain after a failed cd.
Linux4 min
Linux stdout vs. stderr: Save Normal Output and Errors Separately
Understand file descriptors 1 and 2 when command output and errors go to different destinations, and check shell redirection safely.
Linux3 min
journalctl -u vs. -b: Inspect Service Errors from the Current Boot
Combine journalctl unit and boot filters to narrow down why a systemd service failed after a restart.
Linux3 min
Route 53 A vs. CNAME Records: Pointing to an IP Address or Another Hostname
Compare the values of A and CNAME records in Route 53 and follow a practical order for checking DNS changes.
Linux3 min
Why an EC2 Public IP Changes and When to Consider an Elastic IP
Understand the lifetime of an EC2 public address and choose between DNS, a load balancer, and a fixed IP.
Linux3 min
Docker Port Mapping: Host Ports, Container Ports, and Connection Failures
Read Docker host-to-container port mappings and check container status, published ports, application listening, and exposure when localhost cannot connect.
Linux2 min
Troubleshooting TCP Connections: Check DNS, IP, Port, and Listener
Diagnose a failed service connection in order: DNS resolution, destination address, listening port, then firewall and load-balancer boundaries.
Linux2 min
Linux cd Permission Denied After chmod 644: Directories Need Execute Permission
Compare directory read and execute permissions when a folder name is visible but cd fails, then restore only the needed access.
Linux3 min

