domains=(domain1.com domain2.com domain3.com)
printf ' -d %s' ${domains[*]} | xargs certbot --apache
it runs such command:
certbot --apache -d domain1.com -d domain2.com -d domain3.com
domains=(domain1.com domain2.com domain3.com)
printf ' -d %s' ${domains[*]} | xargs certbot --apache
it runs such command:
certbot --apache -d domain1.com -d domain2.com -d domain3.com
alias_Domains=(`grep -m1 -oP '(?<=ServerAlias ).*' /etc/apache2/sites-enabled/website.conf`)
vim /etc/postfix/master.cf
amavis unix - - - - 2 smtp
-o smtp_tls_security_level=none
127.0.0.1:10025 inet n - - - - smtpd
-o smtp_tls_security_level=none
grep -ril word1 /some/path/to/search | xargs grep -i word2
pt-kill --kill-busy-commands=Query --run-time 1m --interval 1 --each-busy-time 30s --print --match-info "(select|SELECT)" --group-by=fingerprint
timedatectl | grep sync
System clock synchronized: no
sed -i 's/NTP\=/NTP=ntp.ubuntu.com/g' /etc/systemd/timesyncd.conf ; systemctl daemon-reload ; timedatectl set-ntp off ; timedatectl set-ntp on ; timedatectl | grep sync
System clock synchronized: yes
Unbound is a free, open-source, recursive, and validating DNS caching server. It uses DNS-over-TLS and DNS-over-HTTPS to encrypt connections between clients. Compared to Bind9, Unbound is lightweight and extremely fast.
echo "deb https://download.keydb.dev/open-source-dist $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/keydb.list
wget -O /etc/apt/trusted.gpg.d/keydb.gpg https://download.keydb.dev/open-source-dist/keyring.gpg
apt update
apt install keydb
paste from input to remote server ssh server_ip "cat - >> /tmp/some_file.txt" << "EOF" > asasas > asasas > asasas > EOF
wg set wg0 peer public_key remove
wg-quick save wg0; wg-quick down wg0; wg-quick up wg0;
su nobody -s /bin/sh -c ‘cat /tmp/some_test’
cat: /tmp/some_test: Permission denied