Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Finalized
assignment.shby adding Bash commands to organize logs into folders, copy necessary files, remove IP files, and create an inventory.What did you learn from the changes you have made?
Learned how to use Bash commands to automate workflows, including wildcards, file operations, conditional checks, and proper Git/GitHub workflow (branching, committing, pushing, and pull requests).
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
Initially thought about testing in the main directory but later used a clean test setup (
assignment_test_clean) to properly validate everything.Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
Faced Git config errors, merge conflicts, and a missing PR to the correct fork branch. All fixed by setting username/email, manually resolving conflicts, and ensuring the PR was made from
assignmenttoPSulf/main.How were these changes tested?
Tested using
bash assignment.shin a clean directory. Verified that all folders were created, log files copied or removed as expected, and the final inventory was accurate.A reference to a related issue in your repository (if applicable)
Not applicable.
Checklist