文件操作 - apachectl
返回文件管理
返回主菜单
删除本文件
文件: /usr/bin/apachectl
编辑文件内容
#!/bin/sh help= restart= flush= unknown= dashdash= dumpmodules= for option do case $dashdash$option in --) dashdash=yes ;; --help | -? | -h) help=yes ;; restart | reload | graceful) restart=yes ;; flush) flush=yes ;; dumpmodules) dumpmodules=yes ;; *) unknown=yes ;; esac done usage () { echo "Usage: $0 restart|reload|graceful" } if [ "$help" = "yes" ]; then usage exit 0 fi if [ "$unknown" = "yes" ]; then exec 2>&1 echo "Unknown arguments" usage exit 3 fi if [ "$restart" = "yes" ]; then exec cm4all-passage-client fade_children fi if [ "$flush" = "yes" ]; then exec cm4all-passage-client flush_cache fi if [ "$dumpmodules" = "yes" ]; then exec /usr/lib/cm4all/lhttp/bin/apache-lhttpd -t -D DUMP_MODULES -Dstandard fi usage
修改文件时间
将文件时间修改为当前时间的前一年
删除文件