cp --parents web/lib/system/Component/Utility/Changed.php backup/my_files/
cp --parents web/lib/system/Component/Utility/Changed.php backup/my_files/
~/.bash_profile : edit / create
nano .bash_profile
Add alias
alias drush='php -c ~/httpdocs/drush.ini ~/httpdocs/vendor/drush/drush/drush'
Install PHP 8.0
apt install php8.0
Install common PHP 8 Extensions
1. Installieren : optipng / jpegoptim / cwebp
sudo apt-get install jpegoptim
sudo apt-get install optipng
sudo apt-get install imagemagick webp jpegoptim optipng
2. jpegoptim : mehrere Optimierungsmöglichkeiten
Zu ausführender Befehl:
lsblk -io KNAME,TYPE,SIZE,MODEL
Windows CMD:
debian config --default-user root
Mit einem Befehl alle .JPG und .PNG Dateien finden:
find ./ -size +1024 -type f \( -iname \*.jpg -o -iname \*.png \) -exec du -sh {} \;
while :
do
date
echo "Hello "
sleep 5
done
while : ; do date; echo "Hello "; sleep 6; done
Code:
find / -name art 2>&1 | grep -v "Permission denied"
Neueste Kommentare
Remove files and show the number of deleted files
Remove all files starting with 2024 in mydir123 and show the number of deleted files:
find mydir123 -name '2024*' -exec rm -vf {} \; | wc -l
find . -name '*' | xargs rm …
find . -name '*' | xargs rm -v
Maybe Patch
https://www.drupal.org/project/tablefield/issues/3397688
/etc/my.cnf
Edit "/etc/my.cnf" ( under [mysqld] ):
transaction_isolation="READ-COMMITTED"
Restart MariaDB / MySQL:
Create Sub-Directories with WGET
wget -U 'Mozilla/MyUserAgent' -P MyTempDir123 --wait=0.2 --random-wait -nd -r -x -l 4 -e robots=off --reject
Ignore Binaries, JS, CSS etc
wget -U 'Mozilla/MyUserAgent2024' -P MyOutPutDirectory --wait=1 --random-wait -nd -r -l 2 -e robots=off --reject
Intel(R) Xeon(R) E-2288G CPU @ 3.70GHz
# sysbench --threads="$(nproc)" cpu run
AMD Ryzen 7 PRO 3700 8-Core Processor
# sysbench --threads="$(nproc)" cpu run
Reload .bashrc without logging out
Diese Lösung wird empfohlen aber hat bei mir nicht funktioniert.
Welche Alternative gibt es?
Composer + PHP 8.3
ln -snf /opt/plesk/php/8.3/bin/php /etc/alternatives/php