#linux
19 post(s)
-
Linux Troubleshooting Toolkit:Diagnose Crashes and High Load
Hands-on triage with htop, journalctl, dmesg, and lsof — diagnose high load and crashes by chaining the right tool at each step.
-
Advanced File Search & Manipulation:find, xargs, and sed
Hands-on batch editing on the command line — find the right files, feed them safely through xargs, and rewrite them with sed.
-
Linux rsync:Sync Files Efficiently, Locally and Remote
Hands-on rsync recipes for everyday work — incremental sync, remote backups over SSH, progress output, and safe dry-runs.
-
Linux sudo and /etc/sudoers:Manage Privileged Access with Intent
Hands-on sudo and sudoers recipes — run commands as root or another user, edit policy safely with visudo, and delegate fine-grained privileges without handing out full root.
-
Linux du and df:Find Disk Space Hogs
Hands-on df and du recipes — check filesystem free space, hunt directory hogs, and resolve “no space left on device” with confidence.
-
Linux ss and netstat:Monitor Network Connections
Hands-on ss and netstat recipes — list listening sockets, inspect open connections, check routing tables, and read interface statistics.
-
Linux kill, pkill, and killall:Send Signals Safely
Hands-on kill, pkill, and killall recipes — choose SIGTERM, SIGKILL, or SIGHUP, target the right PIDs, and stop processes without wrecking managed services.
-
Linux lsof:See Who Is Using a File or Port
Hands-on lsof recipes for everyday work — find which processes hold files open, bind ports, or leak file descriptors.
-
Linux chmod, chown, and umask:Control Who Can Touch a File
Hands-on chmod, chown, and umask recipes — decode numeric vs symbolic modes, fix ownership, and understand default permissions for new files.
-
Linux xargs:Turn Lists into Command Arguments
Hands-on xargs recipes for everyday work — feed find and grep into commands, batch safely, and place arguments where they belong.
-
Linux journalctl:Query the systemd Journal
Hands-on journalctl recipes for everyday work — filter by unit, severity, time range, and boot, then read the results with confidence.
-
Linux sed:Edit Streams Without Opening an Editor
Hands-on sed recipes for everyday work — substitute text, delete lines, edit files in place, and reshape output in pipelines.
-
Linux ps and pgrep:Find Running Processes
Hands-on ps and pgrep recipes — locate processes by PID, user, memory footprint, or command path without a live monitor.
-
Linux dmesg:Read the Kernel Ring Buffer
Hands-on dmesg recipes for everyday work — inspect boot messages, chase hardware faults, filter by level, and watch the kernel live.
-
Linux top, htop, and btop:Watch CPU, RAM, and Load
Hands-on top, htop, and btop recipes — read load averages, find CPU and memory hogs, and triage a busy box in real time.
-
Linux find:Locate Files by What You Know
Hands-on find recipes for everyday work — hunt by name, type, size, and time, then act on matches with confidence.
-
Linux awk:Slice Fields and Summarize Streams
Hands-on awk recipes for everyday work — pick columns, filter rows, change separators, and compute totals in pipelines.
-
Linux grep:Search Files Like You Mean It
Hands-on grep recipes for everyday work — find text, filter logs, search codebases, and pipe results with confidence.
-
Linux Common Directories:Know Where Things Live
Learn the Linux filesystem hierarchy — what /, /etc, /var, /usr, /home and friends are for, and when to look in each one.