Skip to main content
Became Hot Network Question
tags
Link
Kusalananda
  • 356.1k
  • 42
  • 737
  • 1.1k
Source Link
Dawson Smith
  • 235
  • 1
  • 5
  • 12

Meaning of the statement - test -x /usr/bin/find || exit 0

I just wanted to understand the meaning of the following statement and whether they seem correct.

test -x /usr/bin/find || exit 0 Command 1 Command 2 Command 3 

The output of test -x /usr/bin/find is always 0. That means the exit 0 command will be executed , meaning Command 1, 2, 3 will never be executed. Am I right here?