Project and Portfolio Management Practitioners Forum
cancel

[ ! -d [P.P_SUB_PATH]

Highlighted
SM User
Respected Contributor.

[ ! -d [P.P_SUB_PATH]

What does the following command do?

if [ ! -d [P.P_SUB_PATH]

A. Checking whether directory does exist

B. Checking whether directory doesn't exist

C. Both a & b.

D. None of the above
1 REPLY
Volker Schoettn
Honored Contributor.

Re: [ ! -d [P.P_SUB_PATH]

Hi,

B.

complete command:
if [ ! -d [P.P_SUB_PATH] ]; then

Regards
Volker