deb http://deb.debian.org/debian bullseye main contrib non-free deb-src http://deb.debian.org/debian bullseye main contrib non-free deb http://deb.debian.org/debian bullseye-updates main contrib non-free deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free deb http://security.debian.org/debian-security bullseye-security main contrib non-free deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free deb http://deb.debian.org/debian bullseye-backports main contrib non-free deb-src http://deb.debian.org/debian bullseye-backports main contrib non-free
Wednesday, September 21, 2022
Debian 11 - sudo subl /etc/apt/sources.list
Friday, July 22, 2022
Sunday, June 12, 2022
Ubuntu Minimal 22.04 LTS (TODO)
Install Ubuntu Server (minimized)
sudo apt purge -y snapd sudo apt purge -y apparmor
sudo apt update; sudo apt install xubuntu-core^;
sudo apt purge -y snapd sudo apt purge -y gnome-software-plugin-snap sudo apt purge -y apparmor sudo apt purge -y cups*
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb sudo apt install ./google-chrome-stable_current_amd64.deb sudo dpkg -i google-chrome-stable_current_amd64.deb
Saturday, June 11, 2022
Monday, February 07, 2022
How to find total filesize grouped by extension
find . -name '*' -type f -printf '%b.%f\0' | awk -F . -v RS='\0' '{if (NF==2) $(NF+1)=" "; s[$NF] += $1; n[$NF]++} END {for (e in s) printf "%15d %6d %s\n", s[e]*512, n[e], e}' | sort -rn | numfmt --to=iec-i --suffix=B
How can I recursively delete all files of a specific extension in the current directory?
You don't even need to use rm in this case if you are afraid. Use find: find . -name "*.bak" -type f -delete But use it with precaution. Run first: find . -name "*.bak" -type f to see exactly which files you will remove.
Sunday, February 06, 2022
Unzip All Files In A Directory
This works in bash, according to this link: unzip \*.zip or Just put in some quotes to escape the wildcard: unzip "*.zip"
Subscribe to:
Posts (Atom)
systemd-timesyncd
sudo apt update && sudo apt install systemd-timesyncd && sudo systemctl enable --now systemd-timesyncd
-
sudo -u www-data /usr/local/bin/composer install --no-ansi --no-dev --no-interaction --no-progress --no-scripts --optimize-autoloader
-
find . ! -empty -type f -exec md5sum {} + | sort | uniq -w32 -dD fdupes -r / linux_czkawka_gui.AppImage