1 / 20

What is a more efficient way to perform: if grep searchTerm; then echo hi; fi?

?

grep searchTerm && echo hi

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy