🐧 Linux Tutorials

Free Linux tutorials and step-by-step guides for developers.

Analyse Disk Usage on Linux with df, du, and ncdu
Find out what is consuming your disk space — from a quick filesystem overview down to the exact directory or file responsible.
curl Command Examples for Linux: A Practical Reference
The most useful curl commands for developers — GET, POST, headers, auth, file downloads, timing requests, and debugging HTTP APIs from the terminal.
Find and Kill a Process Using a Port on Linux
Stop getting "address already in use" errors. Find what is holding a port and remove it in seconds.
Harden a Fresh Linux Server: First 10 Steps
The actions that matter most in the first hour after provisioning a new server — before it gets hammered by bots and before something goes wrong.
How to Set Cron Schedules on Linux
A step-by-step guide to scheduling automated tasks with cron on any Linux system.
How to Use rsync to Sync Files on Linux
Copy, sync, and back up files locally or over SSH with rsync. Includes the most useful flags, real examples, and common pitfalls with trailing slashes.
Linux File Permissions Explained: chmod, chown, and umask
Read the permission string on any file, change who owns it, and understand what umask does to files you create.
Mount an NFS Share Permanently with fstab
Connect a remote NFS export to your Linux machine, verify it works, then add it to /etc/fstab so it survives reboots without hanging the system.
Replace a Cron Job with a systemd Timer
Why and how to migrate a cron entry to a systemd timer for better logging, dependency handling, and missed-run recovery.
Set Up SSH Key Authentication and Disable Passwords
Generate a modern SSH key pair, install it on a remote host, and lock password login out entirely.
tmux: Persistent Terminal Sessions for Developers
Keep processes running after you disconnect, split your terminal into panes, and switch between projects without opening a new window.