install xrdp

install desktop apt update apt install ubuntu-desktop install xrdp apt install xrdp adduser xrdp ssl-cert service xrdp restart

iohannes iohannes Published on 2025-03-14

ip地址翻墙

安装nslookup apt install dnsutils 地位ip地址 nslookup fstream.binance.com Server: 183.60.83.19 Address: 183.60.83.19#53 修改hosts vi /etc/hosts 183.60.83.19 f

iohannes iohannes Published on 2025-03-14

JPG批量转png

wget https://imagemagick.org/archive/binaries/magick chmod +x magick cp magick data for i in `ls *.JPG | awk -F . '{print$1}'` ; do ./magick "$i".JPG

iohannes iohannes Published on 2025-03-13

kill process by name

杀死包含amarok这个词的所有进程 ps aux | grep -ie amarok | awk '{print $2}' | xargs kill -9

iohannes iohannes Published on 2025-03-12

mysql 表名大小写不敏感

彻底删除mysql service mysql stop killall -KILL mysql mysqld_safe mysqld apt --yes purge mysql-server mysql-client apt --yes autoremove --purge apt autocle

iohannes iohannes Published on 2025-03-12

rm 到垃圾桶

sudo apt install trash-cli echo -e "alias rm='trash-put' \nalias rl='trash-list' \nalias rr='trash-restore'" >> ~/.bashrc source ~/.bashrc

iohannes iohannes Published on 2025-03-12
Previous Next