8 lines
114 B
Bash
Executable File
8 lines
114 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
if ! $(which $1 &>/dev/null); then
|
|
echo "command not found"
|
|
else
|
|
echo "$1 exists"
|
|
fi
|