摘要:
××××××××××××××××××××××××××××××下面是echo××××××××××××××××××× 阅读全文
posted @ 2017-02-19 22:11
陆离可
阅读(227)
评论(0)
推荐(0)
摘要:
#在执行shell脚本时,带参数,如./test.sh 1 2 3,则在脚本test.sh内,参数表示为$n的形式,$1为第一个参数,以此类推。 echo "第一个参数为:$1"; echo "参数个数为:$#"; echo "传递的参数作为一个字符串显示:$*"; 阅读全文
posted @ 2017-02-19 22:01
陆离可
阅读(150)
评论(0)
推荐(0)
摘要:
#!/bin/bash # online test tool: http://www.shucunwang.com/RunCode/shell/ name="pxy"#Attention for variables' names:#1. No space between "name" and "=" 阅读全文
posted @ 2017-02-19 21:45
陆离可
阅读(169)
评论(0)
推荐(0)
摘要:
1. Shell is a program written in C. It provides an interface for users to access to the service of os kernal. Windows Explorer is a typical graphic in 阅读全文
posted @ 2017-02-19 21:43
陆离可
阅读(240)
评论(0)
推荐(0)

浙公网安备 33010602011771号