Bash
-
logrotate 切割日志的两种策略 copytruncate 和 sendsignal
优先使用sendsignal,次之看程序是否自带了轮转日志支持(比如:rclone),最无解才使用copytr…
-
bash中find的三个print参数区别,xargs命令使用要求
find -print|-print0|-printf 输出内容各不同,也在不同的场景中使用。
-
Linux shell环境的配置文件
全局shell环境的配置文件 文件路径 主要作用 生效时机 /etc/bash.bashrc 设置所有用户的 …
1,763字阅读更多:Linux shell环境的配置文件 -
find按权限或用户查找,对查找结果使用函数处理。
find -exec 执行sh文件内的函数时,报错提示No such file or directory