Question: Tasks: Directory Setup and File Creation 1 . Create a directory named Projects in the home directory. 2 . Inside Projects, create the following subdirectories:

Tasks:
Directory Setup and File Creation
1. Create a directory named Projects in the home directory.
2. Inside Projects, create the following subdirectories:
Reports
Images
Scripts
3. Inside the Reports folder, create two files:
weekly_report.txt
summary.md
4. In the Images folder, create placeholders for:
logo.png
banner.jpg
5. In the Scripts folder, create a simple shell script called backup.sh with the following
content:
Note: is a place holder for the name of the user you are logged in as.
#!/bin/bash
tar -czvf backup.tar.gz /home//Projects
echo "Backup completed!"
6. Make backup.sh executable. Test it by running the script with the command: ./backup.sh
File Editing and Management
1. Open weekly_report.txt with your text editor of choice and add the following content:
Weekly Report
=================
Tasks Completed:
- Setup Linux directories
- Practiced file permissions
- Created and executed shell scripts
2. Rename summary.md to project_summary.md
3. Copy all files from the Images folder into the Reports folder.
Managing Permissions and Ownership
1. Make the Reports folder read-only for everyone.
2. Change the permissions on logo.png so only the file owner can read and write it.
3. Set the ownership of project_summary.md to a new group named students
4. Make sure to verify your changes
Process Control
1. Open a terminal and start a background process:
2. Use jobs to confirm that the process is running.
3. Bring the process to the foreground, then suspend it with Ctrl+Z.
4. Resume the process in the background
5. Find the process ID (PID) of the sleep command.
6. Terminate the process using kill with the PID you identified
Documentation
1. Create a file named commands_used.txt in /home/
2. List all the commands you used to complete the tasks, along with a brief explanation of each one

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!