摘要:
if else: if,if elseif else,if else(如果else里什么语句都不执行,else就不要写) 输出结果: for循环: for循环的语法是 for var in item1 item2 item3 ... do ....... done 输出结果: 输出结果: while 阅读全文
摘要:
一、初识shell shell是用C程序编写的,它是用户与linux沟通的桥梁。 shell编程:只需要一个能编写程序的文本编辑器以及一个能解释执行的脚本解释器就可以了。 shell的种类比较多,分为:Bourne Shell(/usr/bin/sh或/bin/sh)、Bourne Again Sh 阅读全文