Question: Write a Bash script that removes all zero length ordinary files in the directory (including those in the subdirectories at all levels) passed as an
Write a Bash script that removes all zero length ordinary files in the directory (including those in the subdirectories at all levels) passed as an optional argument. If you do not specify the directory argument, the script uses the current working directory as the default argument.
Detailed requirements:
1. Name the script 003_3.sh
1. Your script can run with the command ./003_3.sh /boot after making the script executable and should not generate any output
2. Your script can delete some (not all) of the the zero-length files
3. Your script can delete all of the the zero-length files
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
