<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>myline.de: new one-liners</title>
<link>https://myline.de/en/</link>
<atom:link href="https://myline.de/en/rss.xml" rel="self" type="application/rss+xml" />
<description>Curated command line one-liners for Linux web server admins.</description>
<language>en-us</language>
<item><title>Copy a directory with its contents</title><link>https://myline.de/en/l/copy-directory-recursively/</link><guid isPermaLink="true">https://myline.de/en/l/copy-directory-recursively/</guid><pubDate>Sat, 10 Oct 2026 00:00:00 GMT</pubDate><category>dateisystem</category><description>Copies a folder recursively with cp -a. Permissions, owner, timestamps and symlinks are preserved.

$ cp -a -- /var/www/vhosts/example.com/httpdocs/wp-content/themes/mytheme /var/www/vhosts/example.com/httpdocs/wp-content/themes/mytheme-copy</description></item>
<item><title>Copy a file</title><link>https://myline.de/en/l/copy-file/</link><guid isPermaLink="true">https://myline.de/en/l/copy-file/</guid><pubDate>Sat, 10 Oct 2026 00:00:00 GMT</pubDate><category>dateisystem</category><description>Copies a file with cp, keeps permissions and timestamps and asks before overwriting.

$ cp -ip -- /var/www/vhosts/example.com/httpdocs/.htaccess /var/www/vhosts/example.com/private/htaccess-copy</description></item>
<item><title>Create a dated backup copy of a file</title><link>https://myline.de/en/l/backup-copy-with-date/</link><guid isPermaLink="true">https://myline.de/en/l/backup-copy-with-date/</guid><pubDate>Sat, 10 Oct 2026 00:00:00 GMT</pubDate><category>dateisystem</category><description>Quickly creates a copy with date and time in its name before a change, for example .htaccess.bak-2026-10-10-1430.

$ cp -p -- /var/www/vhosts/example.com/httpdocs/.htaccess /var/www/vhosts/example.com/httpdocs/.htaccess.bak-$(date +%F-%H%M)</description></item>
<item><title>Create a directory including parent folders</title><link>https://myline.de/en/l/create-directory-with-parents/</link><guid isPermaLink="true">https://myline.de/en/l/create-directory-with-parents/</guid><pubDate>Sat, 10 Oct 2026 00:00:00 GMT</pubDate><category>dateisystem</category><description>Creates a directory and any missing parent folders automatically. No error if it already exists.

$ mkdir -p -- /var/www/vhosts/example.com/private/backups/2026</description></item>
<item><title>Create or repoint a symbolic link</title><link>https://myline.de/en/l/create-symlink/</link><guid isPermaLink="true">https://myline.de/en/l/create-symlink/</guid><pubDate>Sat, 10 Oct 2026 00:00:00 GMT</pubDate><category>dateisystem</category><description>Creates a symlink or points an existing one to a new target, typical for release directories.

$ ln -sfn -- /var/www/vhosts/example.com/releases/2026-10-10 /var/www/vhosts/example.com/current</description></item>
<item><title>Delete a directory with all its contents</title><link>https://myline.de/en/l/delete-directory-with-contents/</link><guid isPermaLink="true">https://myline.de/en/l/delete-directory-with-contents/</guid><pubDate>Sat, 10 Oct 2026 00:00:00 GMT</pubDate><category>dateisystem</category><description>Deletes a folder including subfolders and files. -I asks once before starting.

$ rm -rI -- /var/www/vhosts/example.com/httpdocs/old</description></item>
<item><title>Delete a file</title><link>https://myline.de/en/l/delete-file/</link><guid isPermaLink="true">https://myline.de/en/l/delete-file/</guid><pubDate>Sat, 10 Oct 2026 00:00:00 GMT</pubDate><category>dateisystem</category><description>Deletes a single file with rm and asks first. Deleted files do not go to a trash bin.

$ rm -i -- /var/www/vhosts/example.com/httpdocs/old.zip</description></item>
<item><title>Empty a file without deleting it</title><link>https://myline.de/en/l/empty-file-without-deleting/</link><guid isPermaLink="true">https://myline.de/en/l/empty-file-without-deleting/</guid><pubDate>Sat, 10 Oct 2026 00:00:00 GMT</pubDate><category>dateisystem</category><description>Truncates a file to 0 bytes while keeping name, permissions and open file handles. Typical for oversized log files.

$ truncate -s 0 -- /var/www/vhosts/example.com/logs/error_log</description></item>
<item><title>Extract a ZIP archive into a directory</title><link>https://myline.de/en/l/extract-zip-archive/</link><guid isPermaLink="true">https://myline.de/en/l/extract-zip-archive/</guid><pubDate>Sat, 10 Oct 2026 00:00:00 GMT</pubDate><category>dateisystem</category><description>Extracts a ZIP file into its own target folder instead of dumping the contents into the current directory.

$ unzip -q /var/www/vhosts/example.com/private/upload.zip -d /var/www/vhosts/example.com/private/upload</description></item>
<item><title>Find a file by name</title><link>https://myline.de/en/l/find-file-by-name/</link><guid isPermaLink="true">https://myline.de/en/l/find-file-by-name/</guid><pubDate>Sat, 10 Oct 2026 00:00:00 GMT</pubDate><category>dateisystem</category><description>Finds files and folders whose name contains a search term, ignoring upper and lower case.

$ find /var/www/vhosts -iname '*wp-config*' 2&gt;/dev/null</description></item>
<item><title>List directory contents with permissions and sizes</title><link>https://myline.de/en/l/list-directory-contents/</link><guid isPermaLink="true">https://myline.de/en/l/list-directory-contents/</guid><pubDate>Sat, 10 Oct 2026 00:00:00 GMT</pubDate><category>dateisystem</category><description>Lists all files in a folder including hidden files with permissions, owner, size and date.

$ ls -lAh --group-directories-first -- /var/www/vhosts/example.com/httpdocs</description></item>
<item><title>Move a file to another directory</title><link>https://myline.de/en/l/move-file-to-directory/</link><guid isPermaLink="true">https://myline.de/en/l/move-file-to-directory/</guid><pubDate>Sat, 10 Oct 2026 00:00:00 GMT</pubDate><category>dateisystem</category><description>Moves a file or directory into another folder with mv and asks before overwriting.

$ mv -i -- /var/www/vhosts/example.com/httpdocs/old.zip /var/www/vhosts/example.com/private/</description></item>
<item><title>Pack a directory into a ZIP archive</title><link>https://myline.de/en/l/create-zip-archive/</link><guid isPermaLink="true">https://myline.de/en/l/create-zip-archive/</guid><pubDate>Sat, 10 Oct 2026 00:00:00 GMT</pubDate><category>dateisystem</category><description>Packs a folder recursively into a ZIP file, for example to hand a website over to someone.

$ cd /var/www/vhosts/example.com &amp;&amp; zip -rq /var/www/vhosts/example.com/private/httpdocs.zip httpdocs</description></item>
<item><title>Recursively delete all files with a given name</title><link>https://myline.de/en/l/delete-files-by-name-pattern/</link><guid isPermaLink="true">https://myline.de/en/l/delete-files-by-name-pattern/</guid><pubDate>Sat, 10 Oct 2026 00:00:00 GMT</pubDate><category>dateisystem</category><description>Searches all subfolders for files matching a name or pattern and deletes them, for example scattered error_log files.

$ find /var/www/vhosts/example.com/httpdocs -type f -name 'error_log' -print -delete</description></item>
<item><title>Rename a file or directory</title><link>https://myline.de/en/l/rename-file/</link><guid isPermaLink="true">https://myline.de/en/l/rename-file/</guid><pubDate>Sat, 10 Oct 2026 00:00:00 GMT</pubDate><category>dateisystem</category><description>Renames a file or directory with mv and asks before overwriting an existing file.

$ mv -i -- /var/www/vhosts/example.com/httpdocs/index.html /var/www/vhosts/example.com/httpdocs/index.html.old</description></item>
<item><title>Rename many files at once</title><link>https://myline.de/en/l/bulk-rename-files/</link><guid isPermaLink="true">https://myline.de/en/l/bulk-rename-files/</guid><pubDate>Sat, 10 Oct 2026 00:00:00 GMT</pubDate><category>dateisystem</category><description>Renames multiple files with a regular expression, for example all .jpeg to .jpg. With -n it only shows a preview first.

$ rename -n 's/\.jpeg$/.jpg/' *.jpeg</description></item>
<item><title>Securely overwrite and delete a file</title><link>https://myline.de/en/l/securely-delete-file/</link><guid isPermaLink="true">https://myline.de/en/l/securely-delete-file/</guid><pubDate>Sat, 10 Oct 2026 00:00:00 GMT</pubDate><category>dateisystem</category><description>Overwrites a file several times with random data and then deletes it, for example an old database dump.

$ shred -u -z -n 3 -- /root/old-dump.sql</description></item>
<item><title>Add a cron job that logs its output</title><link>https://myline.de/en/l/add-cron-job-with-logging/</link><guid isPermaLink="true">https://myline.de/en/l/add-cron-job-with-logging/</guid><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>cron</category><description>Adds a job to your own crontab whose output and error messages are written to a log file.

$ (crontab -l 2&gt;/dev/null; echo &quot;*/15 * * * * /usr/bin/php /var/www/vhosts/example.com/httpdocs/wp-cron.php &gt;&gt; /var/www/vhosts/example.com/logs/wp-cron.log 2&gt;&amp;1&quot;) | crontab -</description></item>
<item><title>Add an IP address to an nftables blocklist</title><link>https://myline.de/en/l/nftables-add-ip-to-blocklist/</link><guid isPermaLink="true">https://myline.de/en/l/nftables-add-ip-to-blocklist/</guid><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>firewall</category><description>Add an address or network to an existing nftables set so the drop rule takes effect immediately.

$ nft add element inet filter blocklist '{ 203.0.113.25 }'</description></item>
<item><title>Align output as a table with column</title><link>https://myline.de/en/l/column-format-output-as-table/</link><guid isPermaLink="true">https://myline.de/en/l/column-format-output-as-table/</guid><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>textverarbeitung</category><description>Aligns delimited text into clean columns, for example /etc/passwd, CSV files or the output of mount.

$ column -t -s ':' /etc/passwd</description></item>
<item><title>Allow a port only from a specific IP with ufw</title><link>https://myline.de/en/l/ufw-allow-ip-to-port/</link><guid isPermaLink="true">https://myline.de/en/l/ufw-allow-ip-to-port/</guid><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>firewall</category><description>Restrict access to a port such as SSH or 8443 to a single IP address or subnet.

$ ufw allow from 198.51.100.0/24 to any port 22 proto tcp</description></item>
<item><title>Analyze boot time and find slow services</title><link>https://myline.de/en/l/systemd-analyze-boot-time/</link><guid isPermaLink="true">https://myline.de/en/l/systemd-analyze-boot-time/</guid><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>systemd</category><description>Shows the total duration of the last system boot and the 20 services that took the longest to start.

$ systemd-analyze &amp;&amp; systemd-analyze blame --no-pager | head -20</description></item>
<item><title>Analyze disk usage interactively with ncdu</title><link>https://myline.de/en/l/analyze-disk-usage-ncdu/</link><guid isPermaLink="true">https://myline.de/en/l/analyze-disk-usage-ncdu/</guid><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>dateisystem</category><description>Scan a directory and show its usage as a navigable list in the terminal. More convenient than du for finding space hogs.

$ ncdu -x /var</description></item>
<item><title>Analyze Googlebot requests in the access log</title><link>https://myline.de/en/l/access-log-googlebot-requests/</link><guid isPermaLink="true">https://myline.de/en/l/access-log-googlebot-requests/</guid><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>logs</category><description>Shows which URLs Googlebot fetches most often according to the access log. Helps with crawl budget and indexing questions.

$ grep -i &quot;googlebot&quot; /var/www/vhosts/system/example.com/logs/access_ssl_log | awk '{print $7}' | sort | uniq -c | sort -rn | head -20</description></item>
<item><title>Analyze server errors (5xx) in the access log</title><link>https://myline.de/en/l/access-log-5xx-server-errors/</link><guid isPermaLink="true">https://myline.de/en/l/access-log-5xx-server-errors/</guid><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>logs</category><description>Lists URLs with status codes 500 to 599 along with their count. Shows which scripts crash or run into timeouts.

$ awk '$9 ~ /^5[0-9][0-9]$/ {print $9, $7}' /var/www/vhosts/system/example.com/logs/access_ssl_log | sort | uniq -c | sort -rn | head -20</description></item>
<item><title>Analyze the network path with mtr</title><link>https://myline.de/en/l/mtr-network-path-report/</link><guid isPermaLink="true">https://myline.de/en/l/mtr-network-path-report/</guid><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>netzwerk</category><description>Create a report with packet loss and latency for every hop on the way to a host.

$ mtr -rwc 50 example.com</description></item>
<item><title>Analyze the slow query log for the slowest queries</title><link>https://myline.de/en/l/mysqldumpslow-analyze-slow-query-log/</link><guid isPermaLink="true">https://myline.de/en/l/mysqldumpslow-analyze-slow-query-log/</guid><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>mysql-mariadb</category><description>Groups similar queries in the slow query log and shows the ten with the highest total runtime.

$ mysqldumpslow -s t -t 10 /var/log/mysql/mariadb-slow.log</description></item>
<item><title>Back up a Docker volume to a tar archive</title><link>https://myline.de/en/l/docker-backup-volume-tar/</link><guid isPermaLink="true">https://myline.de/en/l/docker-backup-volume-tar/</guid><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>docker</category><description>Pack the contents of a Docker volume into a tar.gz file on the host using a temporary Alpine container.

$ docker run --rm -v app_data:/data:ro -v /root/docker-backup:/backup alpine tar czf /backup/app_data.tar.gz -C /data .</description></item>
<item><title>Back up a single database consistently as gzip</title><link>https://myline.de/en/l/mysqldump-single-database-gzip/</link><guid isPermaLink="true">https://myline.de/en/l/mysqldump-single-database-gzip/</guid><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>mysql-mariadb</category><description>Exports a database while it is in use, without table locks, and compresses the dump with gzip.

$ mysqldump --single-transaction --quick -u dbuser -p wp_example | gzip &gt; /var/www/vhosts/example.com/wp_example.sql.gz</description></item>
<item><title>Back up a single domain with Plesk tools</title><link>https://myline.de/en/l/plesk-backup-single-domain/</link><guid isPermaLink="true">https://myline.de/en/l/plesk-backup-single-domain/</guid><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>plesk</category><description>Uses pleskbackup to back up a domain including files, databases and mail into a single file.

$ plesk bin pleskbackup --domains-name example.com --output-file=/root/backup-example.com.tar</description></item>
<item><title>Back up all databases into one gzipped file</title><link>https://myline.de/en/l/mysqldump-all-databases-gzip/</link><guid isPermaLink="true">https://myline.de/en/l/mysqldump-all-databases-gzip/</guid><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>mysql-mariadb</category><description>Backs up every database on the server, including routines and events, into a compressed dump.

$ mysqldump --single-transaction --quick --all-databases --routines --events | gzip &gt; /root/all-databases.sql.gz</description></item>
<item><title>Back up each database into its own gzipped file</title><link>https://myline.de/en/l/mysqldump-each-database-separately/</link><guid isPermaLink="true">https://myline.de/en/l/mysqldump-each-database-separately/</guid><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>mysql-mariadb</category><description>Creates a separate compressed dump for every database on the server. Makes targeted restores easier.

$ for db in $(mysql -NBe 'SHOW DATABASES' | grep -Ev '^(information_schema|performance_schema|sys)$'); do mysqldump --single-transaction --quick &quot;$db&quot; | gzip &gt; &quot;/root/db-backup/$db.sql.gz&quot;; done</description></item>
<item><title>Back up iptables rules to a file</title><link>https://myline.de/en/l/iptables-backup-rules/</link><guid isPermaLink="true">https://myline.de/en/l/iptables-backup-rules/</guid><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>firewall</category><description>Save all current IPv4 firewall rules to a timestamped file with iptables-save.

$ iptables-save &gt; /root/iptables-$(date +%F-%H%M).rules</description></item>
<item><title>Back up the crontab to a dated file</title><link>https://myline.de/en/l/backup-crontab-to-file/</link><guid isPermaLink="true">https://myline.de/en/l/backup-crontab-to-file/</guid><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>cron</category><description>Saves a user's current crontab to a file with the date in its name. A good idea before any change.

$ crontab -l &gt; ~/crontab-backup-$(date +%F).txt</description></item>
<item><title>Back up the WordPress database as a gzip file</title><link>https://myline.de/en/l/wp-cli-export-database-gzip/</link><guid isPermaLink="true">https://myline.de/en/l/wp-cli-export-database-gzip/</guid><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>wp-cli</category><description>Exports the installation's database and compresses it with gzip on the fly. WP-CLI reads the credentials from wp-config.php.

$ wp db export - --path=/var/www/vhosts/example.com/httpdocs | gzip &gt; /var/www/vhosts/example.com/db-backup.sql.gz</description></item>
<item><title>Ban an IP address manually in CrowdSec</title><link>https://myline.de/en/l/crowdsec-ban-ip-manually/</link><guid isPermaLink="true">https://myline.de/en/l/crowdsec-ban-ip-manually/</guid><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>firewall</category><description>Add a time-limited ban decision for an IP address or network in CrowdSec.

$ cscli decisions add --ip 203.0.113.25 --duration 24h --reason 'manual ban'</description></item>
<item><title>Block a single IP address immediately with iptables</title><link>https://myline.de/en/l/iptables-block-ip-address/</link><guid isPermaLink="true">https://myline.de/en/l/iptables-block-ip-address/</guid><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>sicherheit</category><description>Temporarily block an attacking IP address with iptables without touching the rest of the firewall configuration.

$ iptables -I INPUT -s 203.0.113.25 -j DROP</description></item>
<item><title>Block an IP address or subnet with ufw</title><link>https://myline.de/en/l/ufw-block-ip-or-subnet/</link><guid isPermaLink="true">https://myline.de/en/l/ufw-block-ip-or-subnet/</guid><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>firewall</category><description>Insert a deny rule at the top of the ufw rules so it takes priority over existing allow rules.

$ ufw insert 1 deny from 203.0.113.0/24</description></item>
<item><title>Calculate the average, minimum and maximum of a column</title><link>https://myline.de/en/l/awk-average-min-max-column/</link><guid isPermaLink="true">https://myline.de/en/l/awk-average-min-max-column/</guid><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>textverarbeitung</category><description>Uses awk to calculate the mean, smallest and largest value of a column, for response times or file sizes.

$ awk -v c=2 'NR == 1 {min = max = $c} {s += $c; if ($c &lt; min) min = $c; if ($c &gt; max) max = $c} END {if (NR) printf &quot;n=%d avg=%.2f min=%s max=%s\n&quot;, NR, s/NR, min, max}' measurements.txt</description></item>
<item><title>Calculate the total size of all files of one type</title><link>https://myline.de/en/l/total-size-by-file-extension/</link><guid isPermaLink="true">https://myline.de/en/l/total-size-by-file-extension/</guid><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>dateisystem</category><description>Count all files with a given extension and sum up their size. Shows, for example, how much space all videos or logs use.

$ find /var/www/vhosts/example.com/httpdocs/wp-content/uploads -type f -iname '*.mp4' -printf '%s\n' | awk '{s+=$1; n++} END {printf &quot;%d Dateien, %.1f MB\n&quot;, n, s/1048576}'</description></item>
<item><title>Capture network traffic on a port with tcpdump</title><link>https://myline.de/en/l/tcpdump-capture-traffic-on-port/</link><guid isPermaLink="true">https://myline.de/en/l/tcpdump-capture-traffic-on-port/</guid><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>netzwerk</category><description>Show packets for a specific port on all interfaces to check whether requests reach the server.

$ tcpdump -i any -nn -c 100 port 25</description></item>
<item><title>Change domain: replace the old domain in the database</title><link>https://myline.de/en/l/wp-cli-search-replace-domain/</link><guid isPermaLink="true">https://myline.de/en/l/wp-cli-search-replace-domain/</guid><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>wp-cli</category><description>Backs up the database and replaces the old domain with the new one in all tables. The core step of a migration or domain change.

$ wp db export /var/www/vhosts/example.com/before-domain-change.sql --path=/var/www/vhosts/example.com/httpdocs &amp;&amp; wp search-replace '//old.example.com' '//example.com' --all-tables --skip-columns=guid --path=/var/www/vhosts/example.com/httpdocs</description></item>
<item><title>Change or set the passphrase of an SSH key</title><link>https://myline.de/en/l/ssh-change-key-passphrase/</link><guid isPermaLink="true">https://myline.de/en/l/ssh-change-key-passphrase/</guid><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>ssh</category><description>Change the passphrase of an existing private key without having to generate a new key.

$ ssh-keygen -p -f ~/.ssh/id_ed25519_server</description></item>
<item><title>Change service settings with an override</title><link>https://myline.de/en/l/systemctl-edit-service-override/</link><guid isPermaLink="true">https://myline.de/en/l/systemctl-edit-service-override/</guid><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>systemd</category><description>Opens an editor for a drop-in file that changes a service's settings without touching the original unit file.

$ systemctl edit mariadb</description></item>
<item><title>Change swappiness at runtime</title><link>https://myline.de/en/l/sysctl-set-swappiness-runtime/</link><guid isPermaLink="true">https://myline.de/en/l/sysctl-set-swappiness-runtime/</guid><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>system-hardware</category><description>Sets the kernel's swappiness value immediately, without a reboot. Applies until the next reboot unless made permanent.

$ sysctl vm.swappiness=10</description></item>
<item><title>Change the message of the last commit</title><link>https://myline.de/en/l/git-amend-last-commit-message/</link><guid isPermaLink="true">https://myline.de/en/l/git-amend-last-commit-message/</guid><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>git</category><description>Replace the message of the last commit with git commit --amend, including any currently staged changes.

$ git commit --amend -m 'Fix: correct cache path in configuration'</description></item>
<item><title>Change the password of a Plesk mailbox</title><link>https://myline.de/en/l/plesk-change-mailbox-password/</link><guid isPermaLink="true">https://myline.de/en/l/plesk-change-mailbox-password/</guid><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>plesk</category><description>Sets a new password for an existing email address in Plesk, for example after an account was compromised.

$ plesk bin mail --update info@example.com -passwd 'NewSecurePassword'</description></item>
<item><title>Change the PHP version of a domain from the command line</title><link>https://myline.de/en/l/plesk-change-domain-php-version-cli/</link><guid isPermaLink="true">https://myline.de/en/l/plesk-change-domain-php-version-cli/</guid><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>plesk</category><description>Assigns a different PHP handler to a Plesk domain, for example to switch to a newer PHP version.

$ plesk bin domain --update example.com -php_handler_id plesk-php83-fpm</description></item>
<item><title>Change the restart policy of a Docker container</title><link>https://myline.de/en/l/docker-set-restart-policy/</link><guid isPermaLink="true">https://myline.de/en/l/docker-set-restart-policy/</guid><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>docker</category><description>Set a running container to restart automatically after crashes and reboots without recreating it.

$ docker update --restart unless-stopped app</description></item>
<item><title>Change the role of a WordPress user</title><link>https://myline.de/en/l/wp-cli-change-user-role/</link><guid isPermaLink="true">https://myline.de/en/l/wp-cli-change-user-role/</guid><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>wp-cli</category><description>Sets a new role for a user, for example to demote an administrator to editor.

$ wp user set-role editorial editor --path=/var/www/vhosts/example.com/httpdocs</description></item>
</channel>
</rss>