文件操作 - nsupdate
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/bash-completion/completions/nsupdate
编辑文件内容
# bash completion for nsupdate(1) -*- shell-script -*- _nsupdate() { local cur prev words cword _init_completion || return case $prev in -*[VLprtu]) return ;; -*k) _filedir key return ;; -*R) cur=${cur:=/dev/} _filedir return ;; -*y) if [[ $cur == h* ]]; then COMPREPLY=($(compgen -W "hmac-{md5,sha{1,224,256,384,512}}" \ -S : -- "$cur")) [[ ${COMPREPLY-} == *: ]] && compopt -o nospace fi return ;; esac if [[ $cur == -* ]]; then COMPREPLY=($(compgen -W '$(_parse_usage "$1")' -- "$cur")) return fi _filedir } && complete -F _nsupdate nsupdate # ex: filetype=sh
修改文件时间
将文件时间修改为当前时间的前一年
删除文件