Given the following...
 
Notifications
Clear all

Given the following:

1 Posts
1 Users
0 Likes
93 Views
(@siwekphilip)
Posts: 730
Noble Member
Topic starter
 

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

Show Answer Hide Answer

Suggested Answer: A
 
Posted : 05/02/2023 1:37 am
Topic Tags

Latest CompTIA XK0-005 Dumps Valid Version

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