htmlifelse語句例子
#ifelse_腳本用於檢查輸入的字符串是否是一個當前目錄#!/bin/bashif["$1"]thenecho"Whatyouinputisnotnull"if[-e"$1"]thenecho"Thefile$1isexistence!"elseecho"Thefile$1isnotexistence...
#ifelse_腳本用於檢查輸入的字符串是否是一個當前目錄#!/bin/bashif["$1"]thenecho"Whatyouinputisnotnull"if[-e"$1"]thenecho"Thefile$1isexistence!"elseecho"Thefile$1isnotexistence...