Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.
QUESTION

Bash simple script

I need a simple bash script within a couple of hours

In this assignment, you will write a shell script that calculates the following information for the contents of a given directory. The directory that you will analyze will be passed in as a single command line argument to your script. You don’t need to account for any contents of nested subdirectories -- just the direct contents of the specified directory passed in as a directory.

1. The total number of directories that are in directory passed as a parameter.

2. The total number of files in the given passed directory.

3. The number of items (files/directories) in the directory (passed as a parameter) that are readable.

4. The number of items (files/directories) in the directory (passed as a parameter) that are writable.

5. The number of items (files/directories) in the directory(passed as a parameter) that are executable.

Show more >

GET YOUR EXPERT ANSWER ON STUDYDADDY

GET ANSWER

Learn more effectively and get better grades!

Ask a Question