try running: (Pay attention to bla )
which python_bla || which python3_bla_bla || true echo $? 0
You will get RC=0 . This means that it is a construction for a successful transition to the next team. Here we know that python_bla or python3_bla_bla does not exist, but still the command gave RC=0 Example: check the RC of the next three commands, I changed the spelling of the date command to the wrong one, but true causes RC to remain 0 .
date;echo $? Thu Nov 9 01:40:44 CST 2017 0 datea;echo $? If 'datea' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf datea 127 datea||true;echo $? If 'datea' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf datea 0
Note. You can also use the operator : instead of true to get the same results. Example:
command || :
source share