Question: Use the printf command to print the following line. Bash Version: Fill in the blank using the variable holding the current version of Bash. Use
Use the printf command to print the following line.
Bash Version:
Fill in the blank using the variable holding the current version of Bash.
Use the
command to print the following line.
Files in Directory:
Fill in the blank using command substitution and the
command piped into
the
command.
Click the button below to test your script.
When you run your program, your system report should look similar to the output
below.Report Date: Files in Directory: Challenge
Using the script to the left,
systemReport.sh create a
script to print a system report about your system.
Use the command to print System Report for
Fill in the blank using the variable holding the host name.
The following system information should be presented
as a tabseparated table including tab characters in
each line:
A tab in front of the string
A tab between the label and value
Hint
i
When using the printf command, the s placeholder can be used
to represent string values, such as system variables.
Use the
command to print the following line.
Report Date:
Fill in the blank using placeholders to format the date with the following
string.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
