Delete OS/bash/q1.sh

This commit is contained in:
Aadit Agrawal 2025-01-17 10:47:21 +05:30
parent 30bce06742
commit d6b8fc1e75

View File

@ -1,11 +0,0 @@
#!/bin/bash
echo "Enter the name of item to be checked"
read name
if [ -f $name ]; then
echo "File $name exists"
elif [ -d $name ]; then
echo "Directory $name exists"
else
echo "Neither file or directory"
fi