Ubuntu Tips
New Ubuntu #!/usr/bin/bash # Restore backup cp .bashrc .bashrc.orig rsync -av /media/kurome/DataBackup/Backup/Home/latest/ /home/kurome/ # Update system # sudo sed -i 's@//.*archive.ubuntu.com@//mirrors.ustc.edu.cn@g' /etc/apt/sources.list # will list in "Other Software" sudo apt update sudo apt upgrade -y # Enable custom systemd service sudo cp ~/.opt/clash/clash.service /usr/lib/systemd/system sudo cp ~/.opt/aria2/aria2.service /usr/lib/systemd/system sudo systemctl enable --now clash.service sudo systemctl enable aria2.service # Install apps sudo sh -c 'echo "deb [arch=amd64 trusted=yes] https://dl.google.com/linux/chrome/deb/ stable main"...