Bash Scripting Intro
-
Go back to activity 37 (Paste and Join) and write a bash script that automates
your solution to that problem (use your ID). Put your work into the folder
a39bashintro.
-
When you are finished, proof that the application works by showing the following
commands in a single screenshot:
-
Change to the a39bashintro and use ls to show that we can only
see the bash script file and initial file.
-
Cat the original file to show the mixed up columns.
-
Run the bash script.
-
Cat the file to show that the column order has been corrected.
-
Use ls to show that no other files exist.
-
Use cat to show the contents of the script file.