Question: task3 Write a bash script accepting one argument: (directory). The script must print to stdout two numbers, separated by one space. The first number must
task3 Write a bash script accepting one argument: (directory). The script must print to stdout two numbers, separated by one space. The first number must be equal to the number of files contained in (directory) (and, recursively, its sub-directories). The second number must be equal to the number of directories contained in (directory) (and, recursively, its sub-directories) including (directory) itself I suggest using the command wc, together with other commands
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
