?? no-rights
字號:
#!/bin/sh# Make sure touch can update the times on a file that is neither# readable nor writable.if test "$VERBOSE" = yes; then set -x touch --versionfiDEFAULT_SLEEP_SECONDS=2SLEEP_SECONDS=${SLEEP_SECONDS=$DEFAULT_SLEEP_SECONDS}t1=no-rw1t2=no-rw2rm -rf $t1 $t2: > $t1# Make sure $t2 is two seconds newer than $t1.echo sleeping for $SLEEP_SECONDS seconds...sleep $SLEEP_SECONDS: > $t2fail=0set x `ls -t $t1 $t2`test "$*" = "x $t2 $t1" || fail=1chmod 0 $t1touch -d tomorrow -c $t1 || fail=1set x `ls -t $t1 $t2`test "$*" = "x $t1 $t2" || fail=1# Also test the combination of --no-create and -a.touch -a --no-create $t1 || fail=1rm -f $t1 $t2exit $fail
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -