Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Arista Exam ACE-P-ALE1.04 Topic 7 Question 96 Discussion

Actual exam question for Arista's ACE-P-ALE1.04 exam
Question #: 96
Topic #: 7
[All ACE-P-ALE1.04 Questions]

In bash scripting, which of the following comparison operators are used on strings?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Dong
2 days ago
I think the correct answer is C) ==. Bash uses the == operator for string comparisons, not the numeric comparison operators like -gt or -eq.
upvoted 0 times
...
Lucille
4 days ago
I'm not sure, but I think -f is used for checking if a file exists.
upvoted 0 times
...
Amie
6 days ago
I agree with Miles, == is used for comparing strings in bash scripting.
upvoted 0 times
...
Miles
11 days ago
I think the correct answer is C) == because it is used for string comparison.
upvoted 0 times
...

Save Cancel