⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 example.sh

📁 加解密包
💻 SH
字号:
#!/bin/sh############################################################### Example to show how to use secure file command in shell############################################################################################################################# Modify following variables to reflect your local system env##############################################################PROG=/tony/dev/file/5/app/mf.sfile            # programPASS=/tony/dev/file/5/app/sfile.pass          # password fileCRYPT=/tony/dev/file/5/app/secret.txt.sealed  # encrypted fileCLEAR=/tony/dev/file/5/secret.txt             # clear text file##############################################################if [ -f ${PROG} ]  then    ## For encryption, uncomments following line    #${PROG} -e -in ${CLEAR} -out ${CRYPT} -p `cat ${PASS}`    ## For decryption, uncomments following line    ${PROG} -d -in ${CRYPT} -out ${CLEAR} -p `cat ${PASS}`  else    echo Program [${PROG}] does not exist, ABORT!    exit 1fi

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -