📄 backup-1
字号:
#!/bin/sh# Try to create a symlink with backup where the destination file exists# and the backup file name is a hard link to the destination file.# Based on a problem report from Jamie Lokier.if test "$VERBOSE" = yes; then set -x ln --versionfitrap "rm -rf a b b~" 0 1 2 3 15framework_failure=0touch a b || framework_failure=1if test $framework_failure = 1; then echo 'failure in testing framework' exit 1filn b b~ || fail=1ln -f --b=simple a b || fail=1exit $fail
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -