Question: MUST BE DONE IN LINUX CODE Attention! In the beginning of each program (Bash script file), after #!/bin/bash line, there should be comments with the

MUST BE DONE IN LINUX CODE Attention! In the beginning of eachMUST BE DONE IN LINUX CODE

Attention! In the beginning of each program (Bash script file), after "\#!/bin/bash" line, there should be comments with the author's name and the the purpose of the script. Up to 3 points will be subtracted from your score for each part of the project if you don't include this information. [25 points] Write a Bash shell script named info.sh. The output of this script must contain the following information: - The name of your script; - The name of current working directory; - The name of UNIX machine; - The name of login shell; - Total number of parameters of the script; - Current number of users on the system (could require a pipe) - Current time. [5 points] A screenshot of you running the script on delmar. Note that I want your script to give this information through the use of commands, not simply use the echo command to output what you think it is. It is fine to use echo with other commands. So for example, you want to know the location of your home directory, it is fine to do: echo \$HOME but not to do echo /home/hauschildm for example

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!