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

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

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!