Changes between Version 10 and Version 11 of YM_Course_2009/Lab4


Ignore:
Timestamp:
Jul 4, 2009, 11:35:04 AM (15 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • YM_Course_2009/Lab4

    v10 v11  
    157157
    158158}}}
     159
     160= 3. test 與 Shell Script =
     161
     162 * 在學習寫 Shell Script 之前,可以先學著用 test 指令來確認自己寫的判斷式正不正確。
     163{{{
     164ubuntu@ubuntu:~$ test -e file
     165ubuntu@ubuntu:~$ echo $?
     1661
     167ubuntu@ubuntu:~$ test -e file0
     168ubuntu@ubuntu:~$ echo $?
     1691
     170}}}