Linux正确删除目录软链接方式 dir_a软连接到DIR_A 1234567$ ln -s DIR_A dir_a$ tree.├── dir_a -> DIR_A/└── DIR_A ├── DIR_B └── file_1 正确的姿势: 1$ rm -rf dir_a 错误的姿势: 1$ rm -rf dir_a/ 这样会把DIR_A目录下的所有文件都删掉 SRE #SRE #Linux Dockerfile中添加容器运行时环境变量 上一篇 Gitlab-CI Include and Extends 下一篇