8 lines
74 B
Bash
8 lines
74 B
Bash
|
#!/bin/bash
|
||
|
if test -d "$1"
|
||
|
then
|
||
|
echo "directory"
|
||
|
else
|
||
|
echo "file"
|
||
|
fi
|