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.

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
Get step-by-step solutions from verified subject matter experts
