Which of the follow...
 
Notifications
Clear all

Which of the following explains what is wrong with the script?

1 Posts
1 Users
0 Likes
104 Views
(@pacapacmorgan)
Posts: 738
Noble Member
Topic starter
 

An analyst is trying to determine which public IP addresses are managed by Company A, but the script is not working correctly.

Which of the following explains what is wrong with the script?

  • A . $(cat ip-list.txt) should be changed to `cat ip-list.txt` in the for statement.
    B. The for should be changed to while in the loop.
    C. The > should be changed to 2> in the do statement.
    D. The -ne flag should be changed to -eq in the if statement.

Show Answer Hide Answer

Suggested Answer: D
 
Posted : 29/01/2023 5:56 pm
Topic Tags

Latest CompTIA XK0-004 Dumps Valid Version

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