Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はbashの1つのコマンドでこれを行うことを探しています:
[[ -f ./${SQLITE} ] || [ -f /tmp/${SQLITE} ]]
まだそれを行う方法がわからない....2つの場所でファイルを探す...1つのコマンドで。
あなたは余分なものを持っています、]そして[それは必要ではありません:
]
[
[[ -f ./${SQLITE} || -f /tmp/${SQLITE} ]]