文件操作 - dphys-swapfile
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/bash-completion/completions/dphys-swapfile
编辑文件内容
## Bash completion for the Android SDK tools. # # Written by Hans-Christoph Steiner, 2012 # # This work is too trival to have any copyright, I hereby wave any copyright # and release it into the public domain. function _dphys_swapfile() { local cur prev opts COMPREPLY=() cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" opts="setup swapon swapoff uninstall" if [ ${COMP_CWORD} -eq 1 ]; then COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 else COMPREPLY="" return 0 fi } complete -o default -F _dphys_swapfile dphys-swapfile
修改文件时间
将文件时间修改为当前时间的前一年
删除文件