Files
Nomarchy/bin/nomarchy-cmd-present
Bernardo Magri 33deeb494b initial commit
2026-04-01 17:06:01 +01:00

10 lines
167 B
Bash
Executable File

#!/bin/bash
# Returns true if all the commands passed in as arguments exit on the system.
for cmd in "$@"; do
command -v "$cmd" &>/dev/null || exit 1
done
exit 0