Open
Conversation
Answered questions from the 1 Module and the first lesson
dwz92
reviewed
Apr 25, 2024
Comment on lines
17
to
23
| # 5. How would you append to one of the existing files " and machine learning!"? | ||
|
|
||
| # 6. How would you verify that the text was indeed appended to the existing file? | ||
|
|
||
| # 7. How would you delete all files except for the one with the appended text? | ||
|
|
||
| # 8. How would you navigate back to the parent directory containing all the directories? |
dwz92
reviewed
Apr 25, 2024
| to verify creation of all of directories I will be using "ls" | ||
| # 3. In each directory, how would you create 5 .txt files and write "I love data" into each within the directories? | ||
|
|
||
| first I would find a path after what I would create 5 directories, after what I will navigate to each of directories and create there 5 txt files in which I will write text "I love data" |
dwz92
approved these changes
Apr 25, 2024
Owner
Author
|
@dwz92 Should I include the missing information in the lines where it was missed, or can I simply add comments? Alternatively, do I need to submit a new request? Lastly, does this count as completing of the assignment? If not, could you please provide guidance on how to complete it? Thank you for your attention to this matter. |
Owner
Author
|
uoft-dsi-c3-homework-20240426 |
MikeVitvi
commented
Apr 26, 2024
Owner
Author
There was a problem hiding this comment.
uoft-dsi-c3-homework-20240426
juliagallucci
suggested changes
Apr 30, 2024
juliagallucci
left a comment
There was a problem hiding this comment.
0 of 6 clues correct, please revise
dtxe
approved these changes
May 8, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Answered questions from the 1 Module and the first lesson
What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
I was following the instruction provided in the assignment to complete the homework which include creating directories, verifying directories, generating files, appending text to files, and ensuring the proper execution of commands.
What did you learn from the changes you have made?
Specifically, I learned how to create directories, generate files, append text to files.
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
o be honest, at that moment, I didn't have another approach in mind. Everything felt quite challenging for me, and I was focused on understanding and completing the tasks using the available resources and knowledge.
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
Yes, I experienced challenges during the assignment. One issue I faced was with running the ./homework.sh command. Despite following the instructions provided, I encountered difficulties executing the script directly. To overcome this, I resorted to manually copying and pasting the commands from the script into the terminal. While this workaround allowed me to proceed with the tasks, it was less efficient than running the script as intended.
How were these changes tested?
The changes were tested by verifying each step of the process in the terminal. After executing each command to create directories, generate files, and append text
A reference to a related issue in your repository (if applicable)
I encountered these issues while practicing the homework assignment. Initially, I faced the 'bash: ./homework.sh: No such file or directory' error, indicating that the shell couldn't locate the script file in the current directory. After verifying the file's location, I then encountered 'Permission denied' and 'Operation not permitted' errors, suggesting issues with file permissions and filesystem properties. Because of these errors, I needed to resort to manually copying and pasting the commands from the script into the terminal to proceed with the assignment.
@mentions of the person or team responsible for reviewing proposed changes (At least 2 people)
Checklist