Skip to content

Assignment shell - #727

Closed
raviraj-rao wants to merge 6 commits into
UofT-DSI:mainfrom
raviraj-rao:assignment_shell
Closed

raviraj-rao wants to merge 6 commits into
UofT-DSI:mainfrom
raviraj-rao:assignment_shell

Conversation

@raviraj-rao

Copy link
Copy Markdown

What changes are you trying to make?

I completed assignment_script.sh by adding commands that create the data folders, move and organize the client files, remove the IP address files, and write an inventory list.

What did you learn from the changes you have made?

I learned how to use mkdir, mv, cp, rm, ls and wildcards to automate file organization, and how to use Git branches, merges and conflict resolution.

Was there another approach you were thinking about making?

I considered using find with -name to select files and a for loop to copy them, but simple wildcards were easier to read and work in standard Bash.

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

My first push failed because the branch had no upstream and my remotes pointed to the wrong place, so I fixed the remote URLs and used git push --set-upstream origin assignment_shell.

How were these changes tested?

I ran the script with bash from different directories and checked the folders, copied files, removed ipaddr files and inventory.txt, then re-tested after merging the coworker-changes branch.

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

N/A

Checklist

  • I can confirm that my changes are working as intended

@github-actions

Copy link
Copy Markdown

This pull request was made to the wrong repository. If you are a participant, please close it and open it in your own fork instead. Refer to the Assignment Submission Guide for detailed instructions.

@github-actions github-actions Bot closed this Nov 11, 2026
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.

1 participant