shell??±?ifó?????ì×êμày
éè??ò???ìáê?ó??§????2?μ¥£??ù?Yó??§??????DD2ù×÷oí??ê??£
2?μ¥£o1 ???ˉvi ±à?-?÷2 ???ˉx-windows ,??è?í?D?????3.???ˉoóì¨′òó???3ì£?4 ìáê?í?3?ctrl +c
#!/bin/bash //±íê?μ÷ó??′DD?·?3
#filename:qiantao //?ü????±????t??
echo “please choose£o£¨1-3£?or ^C) //??ê???????
echo "1 vi " // ??ê?ê?3?1 ??
echo "2 x-windows" //??ê?ê?3?2 x-windows
echo "3 print-file" //??ê?ê?3?′òó?
echo "ctrl+c quit " //??ê??áê??ì?Y?ü
read xyz //??ó??§μ?ê?è?±£′??úxyz à?
if [ $xyz = 1] //ì??t?D??ê?·??a1 ??
then //if ?á11ó???
vi // ??ó?vi
相关新闻>>
- 发表评论
-
- 最新评论 更多>>