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

  1. Create a simple script which will print the numbers 1 - 10 (each on a separate line) and whether they are even or odd.
  2. 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.
  3. The last 4 questions require you to build the following directory structure.

    Main Directory:

  4. SnowLLC and 3 subdirectories:
  5. IT
  6. HR
  7. Payroll
  8. Under HR, create the files Personnel.txt, Policies.txt, and Employee_Hbk.txt.
  9. Under Payroll create the files Sept2021.xls, Oct2021.xls and Nov2021.xls.
  10. Under IT, create the files backup.bak, Users.doc and encrypt.txt
  11. Attach a screenshot showing that you have completed this task (6 points).

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!