QuestionQ118

VerifiedShells y scripts

Which of these comparison operators can test filesystem elements?

Choose two
Explanation

-d tests whether a pathname exists and is a directory. -f tests whether a pathname exists and is a regular file.

Community Discussion

No comments yet. Be the first to start the discussion!