9 lines
96 B
Bash
Executable file
9 lines
96 B
Bash
Executable file
#!/bin/sh
|
|
|
|
directory=$1
|
|
|
|
if [ -d "$directory" ]; then
|
|
echo -e -n "1"
|
|
else
|
|
echo -e -n "0"
|
|
fi
|