Skip to content

UofT-DSI | Shell - Assignment 1#1

Open
ruokun-ai wants to merge 7 commits intomainfrom
assignment
Open

UofT-DSI | Shell - Assignment 1#1
ruokun-ai wants to merge 7 commits intomainfrom
assignment

Conversation

@ruokun-ai
Copy link
Copy Markdown
Owner

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

Adding code in assignment.sh,including creating directories, organizing raw data into structured folders, copying different types of log files (server, user, event), removing files containing sensitive information (IP addresses), and generating an inventory file for processed data.

What did you learn from the changes you have made?

I learned how to use basic Bash commands such as mkdir, mv, cp, and find to automate file operations.

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

I explored using the -delete option instead of -exec rm, but decided to use -exec rm for better compatibility.

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

One challenge was ensuring I was in the correct directory when running the script, which I fixed by verifying the file path and navigating to the appropriate folder.

How were these changes tested?

The script was tested by running it in the terminal and verifying that all required directories and files were created correctly.

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
Copy Markdown

@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.

@ruokun-ai ruokun-ai marked this pull request as draft April 12, 2026 15:27
@ruokun-ai ruokun-ai marked this pull request as ready for review April 12, 2026 15:28
@ruokun-ai ruokun-ai marked this pull request as draft April 12, 2026 15:35
@ruokun-ai ruokun-ai changed the title Assignment UofT-DSI | Shell - Assignment 1 Apr 12, 2026
Copy link
Copy Markdown

@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.

@ruokun-ai ruokun-ai marked this pull request as ready for review April 12, 2026 15:45
Copy link
Copy Markdown

@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 One or more files with ipaddr in data/raw not removed.; One or more files with ipaddr in data/processed/user_logs not removed
Part 1 - Q8 data/inventory.txt does not exist
Part 2

Please address the issues listed above.

@ruokun-ai ruokun-ai marked this pull request as draft April 12, 2026 15:49
Copy link
Copy Markdown

@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

@ruokun-ai ruokun-ai marked this pull request as ready for review April 12, 2026 15:53
Copy link
Copy Markdown

@vishnouvina vishnouvina left a comment

Choose a reason for hiding this comment

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

approved

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.

3 participants