一、编写第一个shell程序
实例1:
【程序】
#!/bin/sh
echo "hello word !"
【运行】
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAq0AAABsCAIAAADPFRzEAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAgAElEQVR4nO2dd0AUR/vHZ68Bx1GlSZFyVkDBRhBEoyLqC4nAi0Yj1qBRY4k96C/RBEWiESxviImiaKxRFBRUFFS6iBx4wUPAozcpIuXuuLq/P5AI3O3eHTnAMp//GOaefeaZ7+w+Ozs7i6Dog6Tiv3VJ1MUjgwEE8i9ANEevz4gOsK7NPnvyj5ALjyr4KAAAIGqWbgu2L7J+uDvoSq24+0/Uxu++dX/04eHzb76UAI3R25nR/maAd2/r577XX76tqj5i1/Vzy54Fuu1I4DiHFp911wTtiYHeiys3P/9VssB1+0MuvmME84UXC7a9mD15V4rMmuqjwx6c/9oI8CsZUVEXQ0/dY7VJOv5D0reft3jhcu9pk4fUfj/zi0PFwn8aa/BZZMlP1Z6ugcmdNnVnnao80v7fCWvj2zA9MZ178KJX1R9hJy6xWv9pIKJu7vnVfPOHv//+jIN2RmbMjms3TPbYb8rqboxEX/lX2uQjw5cmtcg6gPanx4oipmqJqi5vXroyrk6EHxgIBAIBSAsaxyhmwzwAogoQtUEG5Jb6NqH8qp2/IBIRVCKRoAAAhKJrYaqNtLyseMWXdK9G1jWhtdU2iQBC1jY20CS2v6pp4iNaQ+wtQMnz8haJTNtdIBAICEDFElTmfxG1wXRzckNl5euex31rgKxGEPFFXX9PIBARIOlqEyEQCd1Leg9C0TUZTHpV3sDvYY1EHWSo1lbb1LMcAoFAegXMAyAQCEQ1MByMBtoFiHKMe1o30C4MPKSBdgACgUA+HOB15T0C5m0dEAbaAQgEAoFAIAPGu5oHkMwWPMqP3mL9sc9XEE380vJvBg4lK/czRGP0iqOsfCaXzawNm0hTuVtkm8CEJ2kLjIm9NdDLdvUZH5velI2/ltvhRjaTy2ZyH663o8gvVxlkm8AERtZ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fm1N6qUmB9AEKxnOT++SQzDUXeMYRAIBAI5D0GaUHjGMVsXRJ18cjggXYGAoFAIBBIvwKnviEQCAQC+XiBeQAEAoFAIB8vMA+AQCAQCOTjBX5nCAKBQPoEJpcts3wMld7PnkAgOMD5AAgEAoFAPl7e1TyAZLbgUX70FuuPfb6CaOKXln8zcKiSOzkjGqNXHGXlM7lsZm3YRJr8HygJ2SYw4UnaAmOsjaHl0st29Rkfm96Ujb+W2+FGNpPLZnIfrrejyC9XGWSbwARG1nJz5ToGS/9Suu1z/yGQ94D/ByQUeDscnKJWAAAAAElFTkSuQmCC" alt="" />
【说明】
第一行:#i/bin/sh 表示使用Ubuntu系统中/bin/sh下的一个解释器来解释shell,进行运行。
第二行:echo "hello word !" 表示打印“hello word”这个字符
另外在shell中 # 是用来注释的
二、shell中的变量
(1)变量定义:直接使用=即可
(2)变量赋值:直接使用=
(3)变量引用:变量前面在$;(两种用法:$var 和 ${var} )
实例2:
#!/bin/sh
string="new string"
echo $string
运行结果:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAnMAAAAmCAIAAAAgDoo0AAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAUkElEQVR4nO2dZ0AURxvHZ68Bx1GlSRHkrIBURQKWxILyYqIQNBrRqFGjxhJ71CSaoGg0giVRE4OisSMqCioKKKKgIMUTj+bRmxxFyt1xdd8PYETY3bvFUzHO7xvD3DPPPPPfmd3Z8iBNaExGIU+fxpw1KBhA3hsQ3TGb/zo63c6YDsTlKfs2/xB0my97105BIBAIBADau3YA0j3QpoQt0623vGs3IBAIBNIZyrt2AAKBQCCQ/xRwZYVAIBAIRJ301JWVZjH9fs6l1X0/9N1qqlnAvZwrG/rRyf0M0Roybx83hyPkcapDh7HU7hbddkPcw3vTTandNdDNfr0xPjS9kY2/zsg9dTyOkMcR3l5mz1BerjbothviMtLmWpIbGDz9d9HtG/cfolZ62ryBzxtZWTWGbo5vOPWJbscyRNsxcPu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YP1l6qyblzwqb5aIVPiPw5kM3uTtQ+BQCCQ/zowixwEAoFAIOoE3h+EQCAQCESdwJUVAoFAIBB1AldWCAQCgUDUCVxZIRAIBAJRJ3BlhUAgEAhEnfwfvMA96DqE2ncAAAAASUVORK5CYII=" alt="" />
三、单引号和双引号的区别
实例3:
#!/bin/sh
# 单引号和双引号演示
str="new string"
echo '$str'
echo $str
echo "$str"
运行结果:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQkAAAA5CAIAAACqB0kqAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAHtElEQVR4nO3deVBT1x4H8JOEJCyxBTWFIpRgVEAUELBSHeE9ZJFBR4voYItO6wh1K3ZBp5Sp5Q1KsVRRsbRTl7q3trUiAoqEvgYN+FiCpkiIeAFjpGikynbDkty8PzAQ+24k5plm6e/zFzP33MuPmfsj55zcb0LpVhcLWzBHG/tV3lkIWAwKKzAuin3jcqVU6bn4k6J0VlrkupP3CFOXZU1sTF0AMBDVceaKb3ZksOloQFa1LyX9NDTGcwa9YaHU3b9kJHhkmLoMa0Y1dQEAmCnoDQDIPdEb1PHBCe9Fu9JNVQwAZkS7N2gs74jED5cFuNnp+WrCDP60/OGpf75glMoAMK2RLmD6pP1QVrb2lQlh6TV1Bdl+TFNWBYDpaXrDbsrbG13LNu6XyApTuHNTjt5RakZQXpjx5pGiij5MhN8SiL5N9rNFCNF93i3CsZqK1WzmnL0dmAjHRBXx7McXY80vaOAffn1Z3s8VOCbChYc2ecI0DVgczR4uhWZrQ/QMqNQIqZWP2sQjA+icdbu2hDVsC11fdY/h9tr8ySqEEBoS5y2yz2MGf1pS5rXd441/d//psjSnJVtj96YlulR1OvoGu/fB1juwOJre6G85XeK+f89balWVA52CkFozgO7oOYFoEVTV35ETSP4jVq/XZalIdnJ79q/SQYS6hXypMSoHwLg0cyqiV7ApdvW/hLhjzJeiQ2/62lEeH1A0HzsjDckprDvx+Z73VkR6jBx4KmXv9b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QzZaRI6qe/7O1CaS9tGX5yUiGr+13po+fVwN+ddm+o1aQ3q7Ixa8bS76VP/Mumuly58+JqHy/xHMX3p1UhQdPu+k+UFooVZOc/vnhv1WfLOefmxoaFRC9OPfdOzOaopAOjn9ig66xnyUjpqB8Ag4yxhzt49/ptJWferBf/NI54KK65Pyk8fqED/2xROSNyRZTbg+rGzqdOeUyRkRr6valD7eo32Q4hhJCdW6CLhW7Mgb/eGPejuvPKgeNdYV/nJi/ydffw9F24auuhLQEOCA3cqW1gzl3nhZVKbpU1uSdHsMRXZU9bQZgmI0U8EHz3Cz06Z3P4dLfJMetTYnTvowHwpLFuRHVP7daVHxwmFh0uLBbzTh5cxe26+WAIIaRo4bUiVWN5g6JfzGtSIml5s849KoSeW0bKdvoHEkyENxV84smYtaOsBxPhF9/i6n4xUN2/lLz+W3ns7lr+6Wy3iiPYoBo+DwjohfJ3+m4apk9W2dHAnVExxY9gZQLGYhbPjBgThRW4LC7amz3O3slvaVKi47Xjtd3QGEAP1r80he83Aoax+t6A7zcCBrL6ORUABoLeAICchfYGZJuA0ZlFb0C2CZghC12LQ7YJGB1kmwAgB9kmAMhBtgkAcpBtAoAcZJsAIAfZJgDIQbYJAHKQbQKAHGSbACBnFs+MGBNkm4CBrH9pCtkmYBir7w3INgEDWf2cCgADQW8AQM5ce8NmUsJVccGHnlY/5xsDzSVeID6fNuUZH5Gk2M1cs69RLMIxUUfu7Of/ps7/nS0z8O8yGrL77b+Q53/7xkYSQwAAAABJRU5ErkJggg==" alt="" />
说明:单引号表示直接的替换,即使有$符号,也是直接输出$str;
双引号中使用$会将变量的值的读取出来使用。
注意:反引号表示命令替换,例如:
\$表示$
\`表示`
\"表示"
\\表示\
四、调用linux下的命令
实例4:
#!/bin/sh
# 在linux下调用命令
mkdir test_dir # 在当前目录下创建一个目录
cd test_dir # 进入test_dir目录
touch a.c # 创建一个文件
cd .. # 返回上层目录
echo `pwd` # 打印当前目录
说明:在shell脚本程序中,使用linux下的命令是直接调用的。关于获取linux命令的返回值是使用反引号(键盘上ESC下面的那个按键,符号是`)。
五、if结构
典型表达式:
if [表达式]; then
xxx
else
xxx
fi
应用:
(1)判断文件是否存在。(-f),使用举例:if [ -f b.c ]; then
(2)判断目录是否存在。(-d),使用举例:if [ -d "/mnt" ]; then
(3)判断字符串是否相等。(=),使用举例:if [ "abc" = "abc" ]; then
(4)判断数字是否相等(-eq)、大于(-gt)、小于(-lt)、大于等于(-ge)、小于等于(-le)。使用举例:if [ $num1 -eq $num2 ]; then
(5)判断字符串是否为空。(-z),使用举例:if [ -z "abc" ]; then
注意:在[]中的空格,前后都需要空格,否则会运行错误。
(6)if判断式中'-o'表示逻辑或。使用举例:if [ "1" = "2" -o "3" = "3" ]; then
(7)逻辑与&&和逻辑或||与简写的if表达式相结合
例如:
[ "123" = "abc" ] || echo "not equal" # 执行结果:输出not equal
[ "123" = "123" ] && echo "equal" # 执行结果:输出equal
说明:在||中,前面的语句如果成立,则后面的命令不执行;如果不成立,则后面的命令执行。
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgYAAAByCAIAAACncY4JAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAWZUlEQVR4nO2dT2gbeZbHXyylUBzFAd16016QvPLkIHQZmj4tnqiV9AbRXqw0OsylMTgoTQg9E0OrWXz0oTVgZ4cQNqINJlfRLbMOoncSjzM5Ns1chA/BwhK76pm+CaJoHFFtOXuof78qVUklqSxVlb4ffJBKpSq56v3q+977vd/vd+7du3cEAAAAEE2N+wcAAACwC5AEAAAAIpAEAAAAIpAEAAAAIpAEAAAAIpAEAAAAIl7drefOnRvx7wBgxGjKr2HzwPWYGXKAKAEAAIAIJAEAAIAIJAEAAIAIJAEAAICIfveyBsyDBFxAXx3IsHngAgYomkCUAAAAQASSAAAAQASSAAAAQASSAAAAQASSAAAAQASSAAAAQASSAAAAQASSAIALqLYS4fpsuD4bbuSqwiZ+NVxf3e/vCH3sD9yJqaFqYFh+3p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ipDCK9cTYU8ytVAOL8SJ70pqYuYJhCCbO4zuCHorLVmA0zI3sipw+YWeKjmYsdKSYmbyGQNLFwi7LGcF11OrnuxgLsFiVoQuagv8YUt1S2GrNZnTLH/MPW3SCpQ+beazoy6K6aYKbvSMV7948W71cPv4i/0lQ1hb66Jo+7+fAPi08/V+0TCvutO8JgKIuVCkROH4SbzLJo+gadZx/oJg3aYBEL6wzaHXAb5cvzS2/ndKtfgr5i7iRRuaDUxgR9xfKUvFKFNMzqzBeocK7BW47KeRU63naklWUj0w/17mP8znS0oDSH1McmVDx4fjFCJZ0nm+6QrME49+7dO/0Pzp1j3xrtZi3Mo7xztn1NfMCGzCxG2/umb0lwMOprG81cLq4oBq2/7IH6+a6p1lA0RvV1I6k2sxaxJZix6rFYPrAfjIVLi8V2gVk8Spndtp1b+gdtGj9G5FN0TIhr0II6vLeOHQwwb9X2kgSSr6z+Pei8glrHU3iO9xsl6DJJkmB3g7YKSAKYTBwsCUTUzi29ndsxcBv3m6qQmYh9nA03UThwPZAEMJk4WxIAOCMgCWAyMW/Vtqs4AgAAMC7sVnEEgL3QuFcAuBuzkoCGAQAArgeJIwAAACKQBAAAACKQBAAAACLoXgZABapOwSRjOC4BAADApIHEEQAAABFIAgAAABFIAgAAAJH/B0cbVp5rxamRAAAAAElFTkSuQmCC" alt="" width="414" height="91" />
六、echo创建文件
(1)在shell中可以直接使用echo指令创建一个新的文件
例:echo "abc" > a.txt # 创建一个文件,内容和abc
(2)>>表示在文件末尾追加一个内容
例:echo "cde" > a.txt # 在文件末尾追加一个字符"cde"
九、shell的传参
例:shell程序
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAARYAAAAnCAIAAABFfvCkAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAA7EAAAOxAGVKw4bAAATv0lEQVR4nO2ceXBV133Hf79zzr1v064na0MbAoQkQCxiMzIIgw1hMwbHdeokTeKkk3XSpp1O02nTZqbtZOLpmjg4bkyDl5jEGBPj2Gwi7Ih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FK6p1G8OfXIYoOvdwcl12k4eNyKDnHT694JwXGh2G+DgPmH1ith/BLYEQgEAoEY6RBcsFNoFCAUZ2KnaljrMzAAAKCPNtcEVXkV7VRNC1Nm/uWgGE4dTwjoGla69B7LEX5NTkL4qaNLnTeca7ZYPKEf95TC/JPXK378pHYi8OaizFpFm8+16OLZEQgEAoH4hOheRkgxTRwmactJUVSsF600qE7IaxZjHSE9d+dGJxO98farfZ3kUy8/quroqC0obdO1tdWgAkzWZPE299HdZWXGbvRc5TyJpaehbTnLcbpSHbusVfJwYf7h9UoWP7mdiLa806EvDLf4+zlZGevomk1z2bvcWJbEjkAgEAjEp8OfuxE0XWfvq+UFWWXhc4qC9gQViHEowC87F6PodTUqI3Sx8KLnqohKAcDfPvTZcFP5SFxqVfqd0MlZQZm8ruWIsL1da/ah0Bt5KdGP9pml+Wzzfi7e/SAfAPMPr1ey+EntEC/5Ye6OARwbr7DsxHupxxZo1jcJyOwIBAKBQHwyoBeFIxAIBAKB6Cfo1VwIBAKBQCD6CVpGIBAIBAKB6CdoGYFAIBAIBKKfoOczIxAIxKDA5nII7eYM1hBHgkAMHmg3AoFAIBAIRD/5fwfPUX/9VL6yAAAAAElFTkSuQmCC" alt="" />
$0是执行这个shell程序的解析的名字,$1是第一有效参数的值,$2是第二个……
六、for、while循环和case结构
实例5:
while [ $# -gt ] ; do
case "$1" in
--) shift ; break ;;
-a) shift ; APPEND=yes ;;
-n) shift ; BOARD_NAME="${1%%_config}" ; shift ;;
*) break ;;
esac
done
(1)上面是一个while和case嵌套的一个例子。
(2)break对case是没有作用的,表示的是跳出while循环。
(3)case中语句是以;;作为结尾的。
(4)shif是表示输入的参数左移一个。
(5)$#表示执行shell时传递的参数个数
(6)$1表示shell的第一个参数
----------------------------------------------------------------------------------
声明:部分内容摘录至《朱老师物联网视频教程》http://www.zhulaoshi.org/
----------------------------------------------------------------------------------