Question: Create a simple script which will print the numbers 1 - 10 (each on a separate line) and whether they are even or odd. Write
- Create a simple script which will print the numbers 1 - 10 (each on a separate line) and whether they are even or odd.
- Write a Bash script which will take a single command line argument (a directory) and will print each entry in that directory. If the entry is a file it will print, it's size. If the entry is a directory it will print how many items are in that directory.
-
The last 4 questions require you to build the following directory structure.
Main Directory:
- SnowLLC and 3 subdirectories:
- IT
- HR
- Payroll
- Under HR, create the files Personnel.txt, Policies.txt, and Employee_Hbk.txt.
- Under Payroll create the files Sept2021.xls, Oct2021.xls and Nov2021.xls.
- Under IT, create the files backup.bak, Users.doc and encrypt.txt
-
Attach a screenshot showing that you have completed this task (6 points).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
