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 #binbash directive the shebang on the first line to indicate the bash
shell.
c Type in some sample builtin 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
