+ 1
Write a shell script for AIX where a file will execute next blocks if the location of it is matched with a specific location.
For example, /target/ is that specific location. If the location of the file is /target/ too, only then it will execute next blocks.
1 Respuesta
0
next block? a block of code maybe?
if so it sounds like you need a if condition that checks if the path exists
DIR="/target/"
if[ -d "$DIR" ]; then
echo "path exists!"
fi
does that help? If not, please add more details to your question.