Linux and OS
1. build and configure the DNS server in Linux environment. Take screenshots for the following steps and explain each steps:(Points 25%)
a. Find the hosts in the current machine.
b. Find the local IP address.
2. Create two files with vim, namely 1.txt and 2.txt. Put "hello" in 1.txt and "world" in 2.txt. Merge the two files. Show the content of the merged file. Show the steps with screenshots and explain all steps.(Points25%)
3. In Linux environment List the number of physical CPUs of current virtual machine. List the number of cores per CPU in the current virtual machine. Show the status of processes in real time, such as CPU, memory information. Show the tree structure of currently active processes. Show the results with screenshots and explain each steps by steps
4. Given the test.txt file, please find lines in the file that ends with "t". And then replace the "sad" word with "happy" in the file, and save the file. Then show the content of the changed file. All these should be done within the terminal. Show the steps with screenshots.
test.txt file contains the following:
apple
bat
sad
ball
ant
Hello world, I am sad
eat
pant
people
taste
sad is happy and happy is sad
Its very important report.. please solve it correctly and explain step by step .. Thank you very much
please do not upload the following images from the following links which is already in chegg
https://www.chegg.com/homework-help/questions-and-answers/important-please-solve-correctly--thank-os-linux-1-linux-environment-list-number-physical--q98587823?trackid=0WUf_c0Z
https://www.chegg.com/homework-help/questions-and-answers/1-build-configure-dns-server-linux-environment-take-screenshots-following-steps-explain-st-q98587671?trackid=0WUf_c0Z