21 字
1 分钟
ubuntu 替换rm指令
2025-04-18
Terminal window
sudo apt install trash-cli
Terminal window
sudo vim ~/.bashrc
Terminal window
alias rm = 'trash-put'
alias rl = 'trash-list'
alias rr = 'trash-restore'
alias re = 'trash-empty'
ubuntu 替换rm指令
https://fuwari.vercel.app/posts/ubuntu/ubuntu-替换rm指令/
作者
Asuwee
发布于
2025-04-18
许可协议
CC BY-NC-SA 4.0