diff --git a/test_bashfile.sh b/test_bashfile.sh new file mode 100755 index 0000000..fd4b1a2 --- /dev/null +++ b/test_bashfile.sh @@ -0,0 +1,11 @@ +#!/bin/sh +if [ -f /bin/bash ] +then +echo “file /bin/bash exists” +fi +if [ -d /bin/bash ] +then +echo “/bin/bash is a directory” +else +echo “/bin/bash is NOT a directory” +fi