Answers for "Check is directory exist shell"

C#
1

Check is directory exist shell

DIR="/etc/httpd/"
if [ -d "$DIR" ]; then
  # Take action if $DIR exists. #
  echo "Installing config files in ${DIR}..."
fi
Posted by: Guest on June-02-2021

Code answers related to "Check is directory exist shell"

C# Answers by Framework

Browse Popular Code Answers by Language