2014-02-27 168 views

回答

0
if [ -d "/path/to/dir" ] 
then 
     echo "Directory /path/to/dir exists." 
else 
     echo "Error: Directory /path/to/dir does not exists." 
fi 
相關問題