Question: BASH Scripting Problems 1. Count the number of files in a directory/directories a. If no directory provided use current directory b. If one or more

 BASH Scripting Problems 1. Count the number of files in a

BASH Scripting Problems 1. Count the number of files in a directory/directories a. If no directory provided use current directory b. If one or more directories are specified count the number of files in each directory C. If one or more directories are specified, write an error for any arguments that are not valid directories d. Optional arguments i. count only files of a specific type (i.e. regular files, directories, symlinks, etc) ii. sort output by file count (ascending or descending) 1. all errors should be before sorted output iii. print cumulative total for all directories provided BASH Scripting Problems 1. Count the number of files in a directory/directories a. If no directory provided use current directory b. If one or more directories are specified count the number of files in each directory C. If one or more directories are specified, write an error for any arguments that are not valid directories d. Optional arguments i. count only files of a specific type (i.e. regular files, directories, symlinks, etc) ii. sort output by file count (ascending or descending) 1. all errors should be before sorted output iii. print cumulative total for all directories provided

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!