Skip to content

Comments

UofT-DSI | Shell - Assignment 1#1

Open
alanmj950 wants to merge 4 commits intomainfrom
assignment
Open

UofT-DSI | Shell - Assignment 1#1
alanmj950 wants to merge 4 commits intomainfrom
assignment

Conversation

@alanmj950
Copy link
Owner

…ment

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)

Added commands in assignment.sh to complete the shell/git module assignment.

What did you learn from the changes you have made?

I learned how to use Bash commands for creating directories, moving files, filtering logs, and generating inventory lists using relative paths.

Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?

I thought about adding more detailed error checking and logging but kept the script straightforward for clarity and ease of grading.

Were there any challenges? If so, what issue(s) did you face? How did you overcome it?

Ensuring the script works with relative paths and avoiding hardcoded paths was a key consideration. I tested by running the script multiple times locally in different folders.

How were these changes tested?

Ran the script locally, verified directory structure, files moved/copied, IP-related files removed, and inventory.txt generated.

A reference to a related issue in your repository (if applicable)

N/A

Checklist

  • I can confirm that my changes are working as intended

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Autograder results

question status comment
Part 1 - Q1
Part 1 - Q2
Part 1 - Q3
Part 1 - Q4
Part 1 - Q5
Part 1 - Q6
Part 1 - Q7
Part 1 - Q8
Part 2 coworker-changes branch not found in commit history

Please address the issues listed above.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Autograder results

question status
Part 1 - Q1
Part 1 - Q2
Part 1 - Q3
Part 1 - Q4
Part 1 - Q5
Part 1 - Q6
Part 1 - Q7
Part 1 - Q8
Part 2

@alanmj950 alanmj950 changed the title Updated the assignment.sh script fot shell/git learning module assign… UofT-DSI | Shell - Assignment 1 Aug 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants