Skip to content

Conversation

@zahid-0x80
Copy link

This pull-request provides solutions for the three tasks from the BongoDev repo:

Task 1: Log Analysis

  • Created a log file app.log with at least 10 lines, including INFO, DEBUG, and 3 ERROR lines.
  • Wrote a Bash script find_errors.sh that reads app.log and extracts only the lines containing ERROR.
  • Verified the script output.

Task 2: File Permissions and Ownership

  • Created a directory project and a file notes.txt inside it.
  • Added sample text to notes.txt.
  • Checked initial permissions with ls -l.
  • Modified permissions: removed write permission for the group and added execute permission for the owner (chmod 744 notes.txt).
  • Changed ownership of notes.txt to root and verified.
  • Displayed final permissions and ownership.

Task 3: Read and Print Email/Password

  • Created a Bash script read_email_password.sh that prompts the user to enter their email and password.
  • Prints a confirmation message showing the entered email and password.

All scripts are tested locally and ready for contribution.

Task 2: Added initial feature module
Task 4: Update permissions using chmod (owner rwx, group r--, others r--)
Task 5: Change ownership of notes.txt to root and verify
Task 6: Show final permissions and ownership with ls -l project/notes.txt
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