Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This assessment is an open book and you are encouraged to use the Internet. Additionally, if you were unable to get OpenSSH installed in the

This assessment is an open book and you are encouraged to use the Internet. Additionally, if you were unable to get OpenSSH installed in the previous exam, you will need to install it for this lab.
On your Linux VM:
1. Get your IP address and document it. The easiest way to do this is to use ifconfig and look at the non-loopback device, most likely ens160.
2. Now execute the commands listed under the Windows VM section, before returning to step 3 that follows on the Linux VM.
3. Create a script file in Linux to process the current.txt file you just transferred to Linux via scp remember that at this point, youre just putting the commands you use into a text file youre not doing any extensive programming. This script file should extract the following from the current.txt file that you transferred from Windows:
a. You will 1st identify directories (not files, just directories) created today.
b. You will next identify how many occurrences of notepad.exe are in the file (i.e. on your Windows disk)
c. What is the creation date of the file in the findme directory?
d. Use cat to display the script file you created in step 2, and paste a screen shot of the of it in your lab report.
On your Windows VM:
1. If you didnt already install OpenSSH or PuTTY, you need to do so before proceeding.
2. Create several directories in your login directory from a command line prompt these will be used after you copy the file from the next step (step 3) to your Linux system. Name them something easy for you to search for later, like your name followed by -01, for example, ted-01, ted-02, ted-03. Document the commands you used at the command line to create these directories in your lab report.
3. Create a listing of all files/folders on your disk and redirect the output to a file called current.txt. Document the command you used to produce this listing in your lab report.
4. Use the scp (Secure Copy) command to copy the newly created current.txt file to your UNIX system using the IP address you documented as the first step under the UNIX VM (the syntax should be along the lines of scp current.txt username@ipaddress:/absolute_path). Replace username, IP address, and absolute path with the appropriate parameters, such as student, your Linux VMs IP address, and the absolute path, for example, /home/student. Document the command you used to perform this copy in your lab report.
5. Return to the portion of this lab for the Linux VM (above), step 2.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Principles Of Multimedia Database Systems

Authors: V.S. Subrahmanian

1st Edition

1558604669, 978-1558604667

More Books

Students also viewed these Databases questions