strace intercepts Linux system calls in real time, letting you see exactly what any process is doing. This practical guide covers the essential flags, real-world debugging scenarios, and ready-to-use one-liners for diagnosing hangs, permission errors, config issues, and slow processes.
Articles tagged: commands
Linux Server Setup – Part 1: A Beginner’s Guide
Setting up a Linux server is one of the best ways to learn Linux and server management hands-on. Linux servers offer unmatched flexibility, performance, and control for hosting services, running applications, supporting production workloads, and even building your own homelab. This Linux server setup beginner’s guide will walk you through the basics of setting up […]
lsof Command in Linux: Find Open Files, Ports, and Processes
lsof (List Open Files) is an essential Linux troubleshooting tool for finding which processes are using a port, holding a file open, or causing disk space issues. This guide covers practical lsof commands that sysadmins actually use.
Bash Aliases: Speed Up Your Linux Workflow (Custom Shortcuts)
Bash aliases turn long, repetitive commands into short custom shortcuts that load every time you open a terminal. Here’s how to set them up, where to store them, and a practical set of aliases built for real sysadmin work.
cron and crontab: The Complete Guide to Task Scheduling on Linux
A complete guide to cron and crontab on Linux: syntax explained, practical scheduling examples, environment variables, logging, system crontabs, and debugging tips for when jobs refuse to run.
sed Command in Linux: with Real Examples
A practical guide to the sed stream editor on Linux, covering substitution, in-place editing, line deletion, capture groups, and real-world examples sysadmins actually use.
awk Command in Linux: A Practical Guide with Real Examples
A practical guide to the awk command in Linux, covering real-world examples for sysadmins: parsing logs, extracting columns, summing data, filtering output, and building quick reports from the command line.
tmux: The Complete Guide to Terminal Multiplexing on Linux
tmux lets you run persistent terminal sessions, split panes, and manage multiple windows from a single SSH connection. This complete guide covers installation, essential keybindings, a practical ~/.tmux.conf configuration, real-world workflows, and plugin management.
journalctl: The Complete Guide to Reading Linux System Logs
A practical, complete guide to journalctl for reading, filtering, and managing systemd journal logs on Linux. Covers time filters, boot sessions, service logs, priority levels, output formats, and journal size management.
30 Linux Sysadmin Tools You Didn’t Know You Needed
As a Linux server admin or Linux desktop user, you rely on familiar tools to manage your systems. But have you ever wondered what other tools might simplify your workflow, improve efficiency, and solve common Linux problems? Whether you’re looking into Linux system health, performance monitoring, security hardening, backups, or just general Linux administration, there […]