📄 bigfiles
字号:
# Name: bigfiles# Purpose: Use the find command to find any files in the root # partition that have not been modified within the past n (any # number within 30 days) days and are larger than 20 blocks # (512-byte blocks)if (( $# != 2 )) # [ $# -ne 2 ]then echo "Usage: $0 mdays size " 1>&2 exit 1fiif (( $1 < 0 || $1 > 30 )) # [ $1 -lt 0 -o $1 -gt 30 ] then echo "mdays is out of range" exit 2fiif (( $2 <= 20 )) # [ $2 -le 20 ]then echo "size is out of range" exit 3fifind / -xdev -mtime $1 -size +$2
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -