========================
case 结构
e 值 in
模式1)
    command1
    command2
    command3
;;
模式2)
    command1
    command2
    command3
;;
*)
    command1
    command2
    command3
;;
esac
例子
#!/bin/bash
var=quectel
echo $var
printf "Input a character: "
read -n 1 char
case $char in
   [a-zA-Z])
       printf "\nletter\n"
       ;;
   [0-9])
    printf "\nDigit\n"
       ;;
   [0-9])
       printf "\nDigit\n"
       ;;
   [,.?!])
       printf "\nPunctuation\n"
       ;;
 *)
    printf "\nerror\n"
esac
------------
#!/bin/bash
var=quectel
echo $(ls)
echo `pwd`
v2=hello"quectel"!
echo $v2
arr=(1 2 3)
echo ${arr[2]}
echo ${arr[@]}
echo ${#arr[*]}
autologin.vbs
Dim WshShell 
Set WshShell=WScript.CreateObject("WScript.Shell") 
WshShell.Run "cmd.exe"
WScript.Sleep 1500 
WshShell.SendKeys  "ssh m@10.66.125.234"
WshShell.SendKeys  "{ENTER}"
WScript.Sleep 1500 
WshShell.SendKeys "m"
WshShell.SendKeys "{ENTER}"