文件操作 - ntpdate
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/bash-completion/completions/ntpdate
编辑文件内容
# bash completion for ntpdate -*- shell-script -*- _ntpdate() { local cur prev words cword _init_completion || return case $prev in -*k) _filedir return ;; -*U) COMPREPLY=($(compgen -u -- "$cur")) return ;; -*p) COMPREPLY=($(compgen -W '{1..8}' -- "$cur")) return ;; -*[aeot]) return ;; esac if [[ $cur == -* ]]; then COMPREPLY=($(compgen -W '$(_parse_usage "$1")' -- "$cur")) else _known_hosts_real -- "$cur" fi } && complete -F _ntpdate ntpdate # ex: filetype=sh
修改文件时间
将文件时间修改为当前时间的前一年
删除文件