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

📄 sh3.sh

📁 几个linux试验的脚本编程
💻 SH
字号:
echo "Welcome to use the net tool program:"PS3="choice?"select choice in ping nslook netstat route traceroute exitdocase $choice inping) echo "please key in filename:"read file1if [ -f $file1 ]then   echo ""else   exit 1fiii=`cat $file1 | awk '{print $1}' | grep '^202\.[1-2][0-2][0-9]'`for uu in $iidoping -c 1 $uu >>123.txtdone;;nslook) echo "key in hostname"read hhecho "key in $hh"nslookup $hh;;netstat) netstat -t;;route) route -e;;traceroute) echo "key in host"read hh1traceroute $hh1;;exit) echo "bye!"break;;esacdone

⌨️ 快捷键说明

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