2010年9月22日 - -d FILE FILE exists and is a directory -e FILE FILE exists -f FILE FILE exists ... The test command returns a zero value if the test succeeds or 1 ...
stackoverflow.com