文件操作 - _look
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/bash-completion/completions/_look
编辑文件内容
# look(1) completion -*- shell-script -*- # Use of this file is deprecated on Linux. Upstream completion is # available in util-linux >= 2.23, use that instead. _look() { local cur prev words cword _init_completion || return if ((cword == 1)); then COMPREPLY=($(compgen -W '$(look "$cur" 2>/dev/null)' -- "$cur")) fi } && complete -F _look -o default look # ex: filetype=sh
修改文件时间
将文件时间修改为当前时间的前一年
删除文件