↑ ↓ select, Enter open, Esc close

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

Read first, then run.

The commands on myline.de act directly on servers, files and databases. A wrong path or placeholder can delete data irreversibly or make a server unreachable.

  • All commands are provided without warranty and are not tested on every system.
  • Understand what a command does before running it, and check every placeholder.
  • Make a backup first and, if possible, try it on a test system.
  • You run commands at your own risk. Liability for damages is excluded to the extent permitted by law.