文件操作 - fail2ban-testcases-all
返回文件管理
返回主菜单
删除本文件
文件: /fail2ban/fail2ban-testcases-all
编辑文件内容
#!/bin/bash # Simple helper script to exercise unittests using all available # (under /usr/bin and /usr/local/bin python2.*) set -eu failed= for python in /usr/{,local/}bin/python2.[0-9]{,.*}{,-dbg} do [ -e "$python" ] || continue echo "Testing using $python" $python bin/fail2ban-testcases "$@" || failed+=" $python" done if [ ! -z "$failed" ]; then echo "E: Failed with $failed" exit 1 fi
修改文件时间
将文件时间修改为当前时间的前一年
删除文件