Categories
588 one-liners, grouped by area. Every category with a short introduction and all matching commands.
SSHOne-liners around SSH: generate and distribute keys, build tunnels, debug connections and transfer files securely.
20PleskPlesk Obsidian can be controlled almost entirely from the command line.
48Debian and APTPackage management on Debian and Ubuntu: install, upgrade, hold versions, repair broken dependencies and find out which package ships which file..
17FilesystemWhen the disk fills up or a file has to be found: commands for find, du, df, inodes and targeted cleanup on web servers..
40Permissions and ownershipSet file permissions and ownership correctly without opening up too much.
15LogsRead, filter and analyze log files: search access logs by IP, status code and bot, use journalctl precisely and find errors fast..
21WP-CLIManage WordPress without the dashboard: core, plugins, users, search and replace in the database, cron and cache.
50MySQL and MariaDBBack up, import, check and optimize databases.
19ApacheTest Apache configuration, manage modules, check virtual hosts and narrow down .htaccess problems.
14nginxnginx as a web server or as a reverse proxy in front of Apache, as usual with Plesk: test the configuration, reload it, check redirects and headers..
12LiteSpeedCommands for LiteSpeed Web Server and OpenLiteSpeed: restart, purge the cache, check the configuration and find the logs..
9PHPCheck PHP versions, PHP-FPM pools, modules and settings.
14SSL and certificatesCheck certificates, read expiry dates, test chains and renew Let's Encrypt.
17DNSQuery and understand DNS records: A, AAAA, MX, TXT, CNAME, SPF, DKIM and DMARC.
16MailMail server diagnostics: manage the Postfix queue, find delivery problems, test SMTP and find out who is sending spam through the server..
15GitGit commands for everyday work and emergencies: search the history, undo changes, clean up branches and recover things you deleted by accident..
16rsync and backupCopy, sync and back up data reliably: rsync with the right options, tar archives and simple backup routines..
16ProcessesWhat is eating CPU and RAM? Find, stop and prioritize processes and find out which service is listening on which port..
16systemdStart, stop, enable and debug services.
16CronCreate, check and debug cron jobs.
11NetworkNetwork diagnostics on the server: reachability, open ports, HTTP headers, response times and routing.
18SecurityHarden servers and detect attacks: Fail2ban, firewall rules, suspicious files, login attempts and quick checks after an incident..
18SEO checksTechnical SEO straight from the command line: uncover redirect chains, check the status codes of many URLs, test robots.txt, sitemaps, canonical tags and response times.
24Images and performanceLoad time drives bounce rate and rankings.
21FirewallOpen and close ports, check rules, block and unblock IPs.
21DockerStart, watch, debug and clean up containers.
25Redis and MemcachedObject caches make WordPress and other PHP applications noticeably faster.
15Text processingSlice, filter, count and transform log files, CSV and JSON on the command line.
24System and hardwareWhat is inside the server and how is it doing? Kernel and distribution, CPU, memory, disk health via SMART, temperatures, uptime and hardware errors in the kernel log..
20