Question: Part 2: Write a single shell script hello.sh which can finish the list of tasks as below: 1. Greet user. E.g. Welcome to computer science

Part 2:

Write a single shell script hello.sh which can finish the list of tasks as below:

1. Greet user. E.g. Welcome to computer science society.

2. Contain a comment section with your name, and email address.

3. Print the date.

4. Print the number of directories in /home .

5. Print the value of variables PATH, USER and SHELL.

6. Print your disk usage (df).

7. Print Please, could you loan me $25.00?

8. Print if x = 2, x * x = 4 , x / 2 = 1

9. List all the .sh files with c at the beginning of the file name in current working directory.

10. Tell the user Good bye and the current hour (see manual page of date command refer to the webpage at

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!