Question: 1 Problem 2: Please write a shell script called greeting that displays a greeting message Hello, cfs264sp2100(your login ID)! with the current date in the

1 Problem 2: Please write a shell script called greeting that displays a greeting message Hello, cfs264sp2100(your login ID)! with the current date in the format mm/dd/yyyy and the list of the user login IDs who are currently on the system. Please provide a title of Following users are currently on the system:" before listing those user names; Please test your script to make sure it displays the information as required; Cut/paste your script file, greeting, to a local text document, save it as a .txt file (or a .pdf file), and then upload it with a screenshot of the execution and output of your script to D2L by the deadline. You can put both script and the screenshot in either a single file or separate files. Note: the screenshot of your script should follow the steps shown in the following screenshot: 1) cat your script; 2) execute your script. No gap between steps 1) and 2) [cfs264sp2135@sp-cfsics:~/cfs264/lab4$ cat testing1 echo "Testing line 1." echo "Testing Line 2." [cfs264sp2135@sp-cfsics:-/cfs264/lab4$ ./testing1 Testing line 1. Testing Line 2. (cfs264sp2135@sp-cfsics:~/cfs264/lab4$ 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
