Posted: February 11th, 2023

Bash simple script

I need a simple bash script within a couple of hoursIn 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.

Don't use plagiarized sources. Get Your Custom Essay on
Bash simple script
Just from $13/Page
Order Essay

Expert paper writers are just a few clicks away

Place an order in 3 easy steps. Takes less than 5 mins.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00

Order your essay today and save 20% with the discount code Newyr