Skip to content
Advertisement

what does -d value in an if expression in shell?

I am trying to understand a part of search function written in a piece of code below is the expression mentioned.

JavaScript

Advertisement

Answer

You can use it to determine if a directory exist like

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement