Answers for "how to check directory in linux"

C#
3

how to check if in which folder are you present in linux

#linux command to check in which folder are you
pwd
Posted by: Guest on July-06-2021
0

find directory in linux

grep -R "DocumentRoot" file or folder
Posted by: Guest on June-10-2021
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 "how to check directory in linux"

C# Answers by Framework

Browse Popular Code Answers by Language