New Year Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

CompTIA Linux+ Exam XK0-005 Question # 83 Topic 9 Discussion

CompTIA Linux+ Exam XK0-005 Question # 83 Topic 9 Discussion

XK0-005 Exam Topic 9 Question 83 Discussion:
Question #: 83
Topic #: 9

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

XK0-005 Question 83

Which of the following commands should replace the string?


A.

if [ -f "$filename" ]; then


B.

if [ -d "$filename" ]; then


C.

if [ -f "$filename" ] then


D.

if [ -f "$filename" ]; while


Get Premium XK0-005 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.