Tag: cli
All the articles with the tag "cli".
-
ss Is the New netstat (And It's Better)
netstat is deprecated. ss is faster, shows more, and does everything netstat did—better.
-
find Flags You Keep Forgetting
Practical find command examples: -mtime, -newer, -type, -exec vs xargs, -not, size filters. The patterns you google every time.
-
strace for Beginners: See What Any Process Is Doing
Use strace to trace system calls and debug mysterious errors without reading source code.
-
Using the Clipboard from the Linux Terminal
Copy and paste from the Linux terminal without a mouse. Master xclip, xsel, wl-copy, and integrate clipboard with tmux and SSH.
-
lsof: The Tool That Shows You Everything
Master lsof to find port conflicts, trace deleted files eating disk, and debug network connections.
-
The `at` Command: One-Time Scheduled Tasks in Linux
Schedule one-off Linux tasks with `at` instead of cron. Learn syntax, queue management, batch jobs, and when to use it for delayed reboots and reminders.
-
Preserving Bash History in Multiple Terminal Windows
By default bash history is lost across multiple terminal sessions. Fix it with HISTAPPEND and PROMPT_COMMAND so nothing gets overwritten.
-
Understanding printf vs echo in Bash
echo is convenient but inconsistent across systems; printf is portable and precise — know when to use each and avoid the gotchas.
-
Understanding Grep: A Comprehensive Guide
grep is more powerful than you think — regex patterns, context flags, recursive search, and piping tricks that save hours of log digging.
-
Essential Linux Commands for Daily Use
The Linux commands every sysadmin reaches for daily — file ops, process management, networking, and text manipulation you can't live without.
-
How to Transfer docker Images Without a Repository
Move Docker images between hosts without a registry using docker save and docker load — air-gapped deployments made simple.
-
Copying Files Between Docker Containers and Host Machines
Use docker cp to move files between running containers and your host machine — no volumes needed for one-off file transfers.