Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Linux Assignment & Excercise


  1. Please write a answer for following questions and submit a answer of www.debug.school in form of new post and URL share in whatsapp group for your batch.
  2. Example commands can be shared at https://www.devopsschool.com/commands and share your public profile in whatsapp group for your batch

  1. What is EPEL and Write a instructions to install and use it.
  2. What is diffrence between hypervisor and cloud?
  3. What are the Network Adaptor(Driver) you have in VirtualBox and write a usecase of it?
  4. Find a list 10 commands and write 10 example of it and publish it to https://www.devopsschool.com/commands
    • grep
    • find
    • xargs
    • sed
    • chmod
    • netstat
    • route
    • record
    • vmstat
    • visudo
    • awk

Subscribe
Notify of
guest
2 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
basffour agyapong-sebbeh
basffour agyapong-sebbeh
2 years ago

Day 3 – Linux Lab & Assignment
  Linux Assignment Part – 1
What is EPEL and Write a instructions to install and use it.
EPEL: Stand for Extra Packages for Enterprise Linux, and is a special interest group from the Fedora Project that provides a set of additional packages for RHEL, CentOS and others from the Fedora sources.
1.Instructions to install EPEL:
Open a shell prompt.
Use ssh to log in to an CentOS 8. …
Log in as root user using the su command or sudo command.
Install epel using the following command: sudo yum -y install epel-release.
Refresh repo by typing the following command: sudo yum repolist.
Install packages from epel repository using command: yum install pkg1.
 
2.What is diffrence between hypervisor and cloud?
Hypervisor: is a specialized firmware or software, or both, installed on single hardware that would allow you to host several virtual machines. It allows physical hardware to be shared across several virtual machines.
Cloud: is the Internet—It is all of the things you can access remotely over the Internet.
 
3.What are the Network Adaptor(Driver) you have in VirtualBox and write a usecase of it?
VirtualBox reports to the guest that a network card is present, but there is no connection.
Network Address Translation:-It’s a way to map multiple local private addresses to a public one before transferring the information.
NAT Network-It is type of internal network that allows outbound connections.
Bridge networking-A network bridge is a computer networking device that creates a single network from multiple communication networks.
Internal networking-Internal Networking is similar to bridged networking in that the VM can directly communicate with the outside world. However, the outside world is limited to other VMs on the same host which connect to the same internal network.
Host-only networking-Host-only networking can be thought of as a hybrid between the bridged and internal networking modes. As with bridged networking, the virtual machines can talk to each other and the host as if they were connected through a physical Ethernet switch.
 
 
4.Find a list 10 commands and write 10 example of it and publish it to https://www.devopsschool.com/commands
Grep
$ grep -h Laptop : searching string Laptop.
Find
$ find ./directoryname -empty : Find empty folders reside in documents folder.
Xargs
$ xargs -a file1.txt : To read the items in a file, along with the -a option.
Sed
$ sed ‘5d’ dummy.txt : Delete line 5 in the file.
Chmod
$ chmod 400 filenames: Only read privileges have been assigned to an owner.
 
 5.   Netstat: $ netstat -l: List all the active connections.
Route
$ sudo route: Print routing table in Linux.
Record
$ script linuxhintlog.txt : To record everything in the terminal
Vmstat
$ vmstat 2 10: Reports every 2 seconds for 10 times
Visudo
$ sudo visudo: opens sudoer file in terminal
Awk
$ awk -f awkcsv.awk customer.csv : Run awkcsv.awk file with the content of the customer.csv file by the following command.
 

basffour agyapong-sebbeh
basffour agyapong-sebbeh
2 years ago

  Linux Assignment Part – 1
What is EPEL and Write a instructions to install and use it.
EPEL: Stand for Extra Packages for Enterprise Linux, and is a special interest group from the Fedora Project that provides a set of additional packages for RHEL, CentOS and others from the Fedora sources.

1.Instructions to install EPEL:
Open a shell prompt.
Use ssh to log in to an CentOS 8. …
Log in as root user using the su command or sudo command.
Install epel using the following command: sudo yum -y install epel-release.
Refresh repo by typing the following command: sudo yum repolist.
Install packages from epel repository using command: yum install pkg1.
 
2.What is difference between hypervisor and cloud?
Hypervisor: is a specialized firmware or software, or both, installed on single hardware that would allow you to host several virtual machines. It allows physical hardware to be shared across several virtual machines.
Cloud: is the Internet—It is all of the things you can access remotely over the Internet.
 
3.What are the Network Adaptor(Driver) you have in VirtualBox and write a use case of it?
VirtualBox reports to the guest that a network card is present, but there is no connection.
Network Address Translation:-It’s a way to map multiple local private addresses to a public one before transferring the information.
NAT Network-It is type of internal network that allows outbound connections.
Bridge networking-A network bridge is a computer networking device that creates a single network from multiple communication networks.
Internal networking-Internal Networking is similar to bridged networking in that the VM can directly communicate with the outside world. However, the outside world is limited to other VMs on the same host which connect to the same internal network.
Host-only networking-Host-only networking can be thought of as a hybrid between the bridged and internal networking modes. As with bridged networking, the virtual machines can talk to each other and the host as if they were connected through a physical Ethernet switch.
 
 
4.Find a list 10 commands and write 10 example of it and publish it to https://www.devopsschool.com/commands
Grep
$ grep -h Laptop : searching string Laptop.
Find
$ find ./directoryname -empty : Find empty folders reside in documents folder.
Xargs
$ xargs -a file1.txt : To read the items in a file, along with the -a option.
Sed
$ sed ‘5d’ dummy.txt : Delete line 5 in the file.
Chmod
$ chmod 400 filenames: Only read privileges have been assigned to an owner.
 
 5.   Netstat: $ netstat -l: List all the active connections.
Route
$ sudo route: Print routing table in Linux.
Record
$ script linuxhintlog.txt : To record everything in the terminal
Vmstat
$ vmstat 2 10: Reports every 2 seconds for 10 times
Visudo
$ sudo visudo: opens sudoer file in terminal
Awk
$ awk -f awkcsv.awk customer.csv : Run awkcsv.awk file with the content of the customer.csv file by the following command.
 
 

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

2
0
Would love your thoughts, please comment.x
()
x