13,420
edits
Changes
no edit summary
#You may have learned about creating and running Bash Shell Scripts in your ULI101 course. Shell scripts help Linux users and system administrators to automatic repetitive tasks to become more efficient and to help them save time.
#The <b><code>wget</code></b> command can be used to quickly download files from the Internet. Issue the following command:<br><br><b><code>wget https://scs.senecac.on.ca/~murray.saul/text-report.bash</code></b><br><br>#Verify that the file '''text-report.bash''' was downloaded to your current directory.#Assign read and execute permissions for this file by issuing the command: <b><code>chmod u+rx text-report.bash</code></b>#Run this Bash Shell script by issuing the command: <b><code>./text-report.bash</code></b>#Check to see if it created a report in your current directory. What is the purpose of the report?#Use the <b>vi</b> text editor to view the contents of the file <b>text-report.bash</b>. Can you understand how this script works?<br><br>#Use the <b><code>wget</code></b> command to download, study, and run the following shell scripts on-line:<ul>li>https://scs.senecac.on.ca/~murray.saul/report.bash</li><li>https://scs.senecac.on.ca/~murray.saul/report3.bash</li></ul><br><br>#Try to understand what these Bash Shell scripts do.#You have completed lab1. Proceed to Completing The Lab, and follow the instructions for "lab sign-off".