Bash Basics
Learning outcomes
- Practice the use of Git and GitHub.
- Practice the use of Bash to perform basic operations.
- Practice the use of Bash to code solutions to technical problems.
Goals
This is a collection of Bash exercises and coding challenges. The focus in this assignment is to:
- Practice problem solving.
- Practice Bash fundamentals.
- Practice using the official documentation
Guidelines
- This assignment utilized automated-tests to check for the correctness of your code. These tests can be a bit specific about what you name things
- Please follow the instructions on this assignment for the best outcome.
- Make a habit of committing and pushing your code frequently to GitHub.
- Make sure to meaningful commit messages that describe what you did.
- Make sure the automated tests and checks continue to pass after you make changes.
- Don't forget to fill out the self assessment on the README file
Instructions
- Accept the Assignment on Canvas.
- This will create a repository for you with a few starting files.
.
├── .vscode
│ └── settings.json
├── 1-hello-world.sh ⬅️
├── 2-greeting.sh ⬅️
├── 3-calculator.sh ⬅️
├── 4-file-info.sh ⬅️
├── test_hello-world.sh
├── test_greeting.sh
├── test_calculator.sh
├── test_file-info.sh
└── README.md 🔼: update this once done - You will only be working on the files marked with the arrows
Clone down the repository to your linux VM.
Run the project tests by running each test script with bash. You should see all the tests failing like so:
Our task would be to implement the functions in the files marked with ⬅️ arrow above until all the tests pass.
At the end of each test, commit your code
git commit -m "finished test xyz"
.DON'T FORGET to Update the README.md file with your self assessment
- Your grade
- Self Reflection
- How long it took you to complete the assignment
Push your code.