經安全檢測,此網站為安全網站,請放心前往原始網址!

shell - How to check directory exist or not in linux.? - Stack Overflow

With bash/sh/ksh, you can do: if [ ! -d /directory/to/check ]; then mkdir -p /directory/ toc/check fi. For files, replace -d with -f , then you can do ...

stackoverflow.com

網址安全性掃描由 google 提供