langs a-z
This commit is contained in:
parent
db842d013d
commit
d066446780
11389 changed files with 98361 additions and 1020 deletions
3
Task/Empty-directory/UNIX-Shell/empty-directory.sh
Normal file
3
Task/Empty-directory/UNIX-Shell/empty-directory.sh
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
DIR=/tmp/foo
|
||||
[ `ls -a $DIR|wc -l` -gt 2 ] && echo $DIR is NOT empty || echo $DIR is empty
|
||||
Loading…
Add table
Add a link
Reference in a new issue