Add a couple of questions

This commit is contained in:
abregman
2021-11-07 17:54:06 +02:00
parent 18e69a2baa
commit 5163a9a258
29 changed files with 2133 additions and 232 deletions

View File

@ -0,0 +1,20 @@
## Empty Files
### Objectives
1. Write a script to remove all the empty files in a given directory (including nested directories)
### Solution
```
#! /bin/bash
for x in *
do
if [ -s $x ]
then
continue
else
rm -rf $x
fi
done
```