📄 copybins
字号:
#!/bin/sh# copy install binaries to hereif [ "$1" = "" ]; then echo "usage: $0 source-dir" exitfisrc=$1# get usable strip commandif [ `uname -a | grep 5.5.1 | grep -i sunos | wc -l` = "1" ]; then # solaris 2.5.1 strip=strip-2.5.1else # others strip=stripfi# executablesfor fn in sftpc sftpd makekeys viewkey addent; do echo $fn cp ${src}/${fn} . if $strip $fn; then # ok true else echo "$strip command failed.. bailing" exit fi chmod a+rx $fndone
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -