📅  最后修改于: 2022-03-11 14:49:48.041000             🧑  作者: Mango
# To find out if a given command exists:
if command -v given-command > /dev/null 2>&1; then
echo given-command is available
else
echo given-command is not available
fi