Skip to content

Update homework.sh#1

Open
gordonmod8 wants to merge 1 commit intomainfrom
homeworksh
Open

Update homework.sh#1
gordonmod8 wants to merge 1 commit intomainfrom
homeworksh

Conversation

@gordonmod8
Copy link
Owner

My answers to the homework

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

Answering the prompts in homework.sh to the best of my ability

What did you learn from the changes you have made?

the terminal interprets ">>" as append left to file on right

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

na

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

na

How were these changes tested?

In a local terminal

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

na

@mentions of the person or team responsible for reviewing proposed changes (At least 2 people)

Checklist

  • I can confirm that my changes are working as intended

My answers to the homework
@gordonmod8 gordonmod8 self-assigned this Apr 24, 2024
Comment on lines +14 to +18
echo "I love data" > output1.txt
echo "I love data" > output2.txt
echo "I love data" > output3.txt
echo "I love data" > output4.txt
echo "I love data" > output5.txt
Copy link

Choose a reason for hiding this comment

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

You are only creating text files in the current directory not in dir1 to dir5

Comment on lines -22 to +26

rm -r dir1 dir2 dir3 dir4 dir5 output2.txt output.txt output4.txt output5.txt
Copy link

Choose a reason for hiding this comment

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

This doesn't remove the intended target from question

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