#ifelse_腳本用於檢查輸入的字符串是否是一個當前目錄
#!/bin/bash
if [ "$1" ]
then
echo "What you input is not null"
if [ -e "$1" ]
echo "The file $1 is existence!"
else
echo "The file $1 is not existence!"
fi
echo "What you input is null!"