Delete OS/bash/q1.sh
This commit is contained in:
parent
320e5a4dfd
commit
a11ede4385
@ -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