Skip to content

alion300/BHP-DEx2.0-Course

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. 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 image

image

  1. Download the Latest Ubuntu: Download the latest Ubuntu ISO from Ubuntu.
  2. 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
  3. 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}. image image

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. image

image

image

Part 3: Using grep and find Commands

  1. grep Command: ○ Search for text within files using grep. Example: ~/homework/dir1/*.txt.
  2. find Command: ○ Find files in a directory. ○ Find files modified within the last 7 days. image

image

Part 4: Documenting the Steps

  1. Take Screenshots: ○ Take screenshots of the commands and their outputs.
  2. 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. image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages