While (endless, stop: CTRL+C)
while :
do
date
echo "Hello "
sleep 5
doneAlternativ:
while : ; do date; echo "Hello "; sleep 6; done
while :
do
date
echo "Hello "
sleep 5
done
while : ; do date; echo "Hello "; sleep 6; doneSearch for BERLIN in a very big file
cat very-big-bigfile.txt | grep -o -P '.{0,33}BERLIN.{0,44}'
1 * * * * wget -O /dev/null -o /dev/null my-example-website.com
grep -siRlI 'africa' all-documents/ | xargs mv -t documents-africa/
tar --exclude='./dir2ignore' --exclude='./cache_etc' -zcvf /backup/myarchive.tar.gz .
So geht es:
drush php-eval 'my_custom_module_cron();'
Controller könnte so aussehen:
Command 1:
drush sql:dump | gzip -c > /home/backup/db-$(date +%Y-%m-%d-%H%M).sql.gzError:
mysqldump: Error: 'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tablespaces
Lösung:
Code:
find / -name art 2>&1 | grep -v "Permission denied"
service solr status
https://lucene.apache.org/solr/guide/8_5/taking-solr-to-production.html
Neueste Kommentare
Short Code w. Radio Buttons, Checkbox, Textarea, Email, Phone
$("input[type='radio']").each(function () {Wildcard
Let’s Encrypt will only accept a wildcard via DNS challenge.
If your Plesk instance can’t create the _acme-challenge.example.com TXT (external DNS), the extension can’t complete validation and will show no success.
Same problem
Warning: Undefined array key "url" in Drupal\Core\Asset\JsCollectionOptimizerLazy->optimizeGroup()set-timezone Europe/Berlin
sudo timedatectl set-timezone Europe/BerlinTry this:1. Go to Tools &…
Try this:
Alternative (without warnings like "no crontab for user")
Alternative (without warnings like "no crontab for dovecot") to see all tasks:
php 8.3 apcu
php 8.3 apcu failed
über Plesk hat es geklappt.
phpize failed error?
install:
# sudo apt install php-devphpize
# sudo apt install…
phpize
# sudo apt install php-devdetails
Problem:
/opt/plesk/php/8.3…
Problem: