Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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