Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

5 . 0 Write a bash script called greeting.sh that prints a greeting to the user by ( user ) name, ( Such as Good

5.0 Write a bash script called
greeting.sh that prints
a greeting to the user by (user) name, (Such as Good Morning rainyday)
prints the current date, and
prints a list of users currently running processors on your computer (use ps command)
Note: If there are no users in the system you are working on except you, the list will be empty.
For example, your output might look like the following if there are other users (Specially in a
distributed system):
He110 rainyday
Be sure to add comments to your script! Comments in bash scripts begin with #, except on the very
first line.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions