(bash) renamed bash test file to bash-test.sh ..
This commit is contained in:
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if ! $(which $1 &>/dev/null); then
|
||||
echo "command not found"
|
||||
else
|
||||
echo "$1 exists"
|
||||
fi
|
||||
Reference in New Issue
Block a user