Question: can you help me show bash script A5p1.sh to output the number of files and subdirectories separately in the directory that is specified as the
can you help me show bash script A5p1.sh to output the number of files and subdirectories separately in the directory that is specified as the first command line argument to this script. Do not count recursively in subdirectories. Do not call any existing Linux utilities such as "ls". You may refer to the testSearch.sh example and page 7 of the "Basic Bash Scripting Lab.docx" documentation in Folio to find out how to test if an item in a directory is a file or subdirectory. When grading, we will test your script using "./A5p1.sh
Number of files in
Number of subdirectories in
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
