+ 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.

15th Aug 2022, 8:34 PM
Md. Asiful Hoque Prodhan
Md. Asiful Hoque Prodhan - avatar
1 Réponse
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.
16th Aug 2022, 4:28 PM
Apollo-Roboto
Apollo-Roboto - avatar
Aujourd'hui en vedette
.
1 Votes
What?
0 Votes
HTML
0 Votes
Web
0 Votes
Quiz duel
0 Votes
FRC Coding?
1 Votes
help
0 Votes
AI
2 Votes
APIs
1 Votes