Shell 学习
Posted ptbx
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Shell 学习相关的知识,希望对你有一定的参考价值。
将maven 项目里面的jar 包导出目录: 在项目里面执行:
- mvn dependency:copy-dependencies -DoutputDirectory=lib
#!/bin/sh case $1 in "one") echo "Your choice is ONE" ;; "two") echo "Your choice is TWO" ;; esac
#!/bin/sh read -p "Please input (Y/N): " yn [ "$yn" == "Y" -o "$yn" == "y" ] && echo "OK, continue" && exit 0 [ "$yn" == "N" -o "$yn" == "n" ] && echo "Oh, interrupt!" && exit 0 echo "I don‘t know what your choice is" && exit 0
#!/bin/sh while [ "$yn" != "yes" -a "$yn" != "YES" ] do read -p "please in put you process" yn done echo "you answer is r"
以上是关于Shell 学习的主要内容,如果未能解决你的问题,请参考以下文章
20155201 李卓雯 《网络对抗技术》实验一 逆向及Bof基础