4: Getting Started with Bash Scripting
November 8, 2023
Last updated
November 8, 2023
Last updated
Objective: The focus of this lab exercise is to familiarize yourself with the basics of bash scripting. This exercise will enable you to create and execute simple scripts to automate common tasks in a Linux environment.
This lab exercise assumes that you've already completed Lab Exercises 1-3 but uses a different development environment than previous labs, namely GitHub Codespaces.
Sign in to your GitHub account
Navigate to the blank GitHub Codespaces template repository in your web browser
Select Use this template then click Create a new repository then populate the form with new repo name
Make sure the repository is public
Click Create
Once your repository is created, click Code, select the Codespaces tab, then click Create codespace on main to open a simple development environment in your browser
Read and/or work through the following chapters of Introduction To Bash Scripting using your freshly opened GitHub Codespace.
Make sure to commit changes to your repo as you work through each sub-section and merge changes once you're complete (or taking a break).
15 points (+5 points extra credit for a possible max of 20/15)