Question: This is a linux class. A. |Write a Bash shell script named info. sh. The command for execution must include two command-line parameters: the name

This is a linux class.

This is a linux class. A. |Write a Bash shell script named

A. |Write a Bash shell script named info. sh. The command for execution must include two command-line parameters: the name of the file that will be displayed and the name of the directory the listing of which you want to obtain. The output of this script must contain the following information: . The name of your script; * "Usage" message (what should be typed to execute your file); Current date and time: The name of the user; . The name of current working directory; . The name of UNIX machine; * The name of login shell; * Contents of the required file; Number of text lines in the file; Listing of the required directory; * Total number of parameters of the script; * Calendar for October of the current year; . Disk usage; Current number of users in the system Current time *

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!