Shell echo喘隈?shell echo音算佩補竃、算佩補竃|shell echo算佩憲、崙燕憲
bash凋綜盾瞥殻會淫根阻匯乂坪何凋綜。坪何凋綜壓朕村双燕扮頁心音需議?万断喇shell云附戻工。echo頁凪嶄岻匯。
凋綜鯉塀?echo arg
孔嬬?壓徳鳥貧嬉咫竃喇arg峺協議忖憲堪。
総翌?珊辛參喘echo糞孖厚鹸墫議補竃鯉塀陣崙?
1、?塋衝ň縋峽?
echo "\"It is a test\""
潤惚繍頁: "It is a test"
揖劔?褒哈催匆辛參福待
2、?塋庄篩?
read name (補秘OK)
echo "$name It is a test"
潤惚繍頁: OK It is a test
揖劔褒哈催匆辛參福待
泌惚延楚嚥凪万忖憲屢銭議三?俶恂泌和侃尖:
read mouth (補秘8)
echo "${mouth}-1-2009"
潤惚繍頁: 8-1-2009
3、?塋昌姉?
echo "OK!\n"
echo "It it a test"
4、?塋床算姉?
echo "OK!\c"
echo "It is a test"
5、?塋晶畊蔣35鰆僧勅?
echo "It is a test" > myfile
6、圻劔補竃忖憲堪?音序佩廬吶賜函延楚(喘汽哈催)
echo '$name\"'
7、?塋消跎釀莞仆畊?
echo `date`
潤惚繍?塋承映鞍嫺?
貫貧中辛心竃?褒哈催辛嗤辛涙?汽哈催麼勣喘壓圻劔補竃嶄。
凋綜鯉塀?echo arg
孔嬬?壓徳鳥貧嬉咫竃喇arg峺協議忖憲堪。
総翌?珊辛參喘echo糞孖厚鹸墫議補竃鯉塀陣崙?
1、?塋衝ň縋峽?
echo "\"It is a test\""
潤惚繍頁: "It is a test"
揖劔?褒哈催匆辛參福待
2、?塋庄篩?
read name (補秘OK)
echo "$name It is a test"
潤惚繍頁: OK It is a test
揖劔褒哈催匆辛參福待
泌惚延楚嚥凪万忖憲屢銭議三?俶恂泌和侃尖:
read mouth (補秘8)
echo "${mouth}-1-2009"
潤惚繍頁: 8-1-2009
3、?塋昌姉?
echo "OK!\n"
echo "It it a test"
4、?塋床算姉?
echo "OK!\c"
echo "It is a test"
5、?塋晶畊蔣35鰆僧勅?
echo "It is a test" > myfile
6、圻劔補竃忖憲堪?音序佩廬吶賜函延楚(喘汽哈催)
echo '$name\"'
7、?塋消跎釀莞仆畊?
echo `date`
潤惚繍?塋承映鞍嫺?
貫貧中辛心竃?褒哈催辛嗤辛涙?汽哈催麼勣喘壓圻劔補竃嶄。