Linux
Homework Assignment: Objective: Set up a virtual machine, create directories and files, execute Linux commands, and document the process.
Part 1: VirtualBox & Ubuntu Installation
- Download and Install VirtualBox: Go to VirtualBox and install it.
Answer: I have MACBOOK PRO , I install Parallel tool and I installed ubuntu on parallel

- Download the Latest Ubuntu: Download the latest Ubuntu ISO from Ubuntu.
- Install Ubuntu on VirtualBox: ○ Create a new virtual machine in VirtualBox and mount the Ubuntu ISO. ○ Follow the installation steps and complete the setup. Part 2: Linux Directory and File Creation
- Create Directories and Files:
○ Create a directory structure:
~/homework/{dir1,dir2,dir3}.
○ Inside dir1, create a few text files:
~/homework/dir1/{file1.txt,file2.txt,file3.txt}.

Answer: mkdir is created folder or directory
Touch command created a file
2. Add Content to Files:
○ Use echo to add text to files, e.g.,
~/homework/dir1/file1.txt.

Part 3: Using grep and find Commands
- grep Command: ○ Search for text within files using grep. Example: ~/homework/dir1/*.txt.
- find Command:
○ Find files in a directory.
○ Find files modified within the last 7 days.

Part 4: Documenting the Steps
- Take Screenshots: ○ Take screenshots of the commands and their outputs.
- GitHub Submission: ○ Add the screenshots and a README.md to a GitHub repository. ○ In the README.md, explain each command and include the screenshots.
Deliverable:
● A GitHub repository with the following:
○ Commands used (added in README.md).
○ Screenshots of terminal output and the working directories.
○ Explanation of the steps.




