Answered step by step
Verified Expert Solution
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
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:
He rainyday
Be sure to add comments to your script! Comments in bash scripts begin with # except on the very
first line.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started