Answered step by step
Verified Expert Solution
Link Copied!

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.

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Focus On Geodatabases In ArcGIS Pro

Authors: David W. Allen

1st Edition

1589484452, 978-1589484450

More Books

Students also viewed these Databases questions

Question

6. Conclude with the same strength as in the introduction

Answered: 1 week ago

Question

7. Prepare an effective outline

Answered: 1 week ago