Bash simple script | Computer Science homework help

Get your original paper written from scratch starting at just $10 per page with a plagiarism report and free revisions included!









Hire A Writer

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.

Stay Anonymous
With Our Essay Writing Service

The aim of our service is to provide you with top-class essay help when you ask us to write my paper; we do not collect or share any of your personal data. We use the email you provide us to send you drafts, final papers, and the occasional promotion and discount code, but that’s it!

Order Now