Delete OS/bash/q1.sh
This commit is contained in:
parent
30bce06742
commit
d6b8fc1e75
@ -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
|
Loading…
x
Reference in New Issue
Block a user