NelsonChung's blog
邁向偉大的航路
2011年3月24日 星期四
[shellscript] 檢查檔案是否存在
檢查zero.bin檔案是否存在
存在,印出file exist到螢幕上
不存在, 印出file not exist到螢幕上
檢查目錄則是
test -d
Reference:
http://linux.vbird.org/linux_basic/0340bashshell-scripts.php
沒有留言:
張貼留言
‹
›
首頁
查看網路版
沒有留言:
張貼留言