Which of the following commands should replace the <CONDITIONAL> string?

A user is asking the systems administrator for assistance with writing a script to verify whether a file exists.

Given the following:

Which of the following commands should replace the <CONDITIONAL> string?
A . if [ -f "$filename" ]; then
B. if [ -d "$filename" ]; then
C. if [ -f "$filename" ] then
D. if [ -f "$filename" ]; while

Answer: A

Latest XK0-005 Dumps Valid Version with 136 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments