Question: Write a very simple script to test out the command line and to refresh your Linux knowledge from prior classes. Here are some sample steps:

Write a very simple script to test out the command line and to refresh your Linux
knowledge from prior classes. Here are some sample steps:
a. Open a file with the nano editor with your choice of filename and the sh extension
for Bash: nano .
b. Enter the #!/bin/bash directive (the shebang) on the first line to indicate the bash
shell.
c. Type in some sample built-in commands such as whoami, pwd, date, and then,
print a unique string to the screen using echo.
d. Save and exit your file using the options at the bottom of the editor.

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!