Answered step by step
Verified Expert Solution
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:
Get your IP address and document it The easiest way to do this is to use ifconfig and look at the nonloopback device, most likely ens
Now execute the commands listed under the Windows VM section, before returning to step that follows on the Linux VM
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 st identify directories not files, just directories created today.
b You will next identify how many occurrences of notepad.exe are in the file ie 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 and paste a screen shot of the of it in your lab report.
On your Windows VM:
If you didnt already install OpenSSH or PuTTY, you need to do so before proceeding.
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 to your Linux system. Name them something easy for you to search for later, like your name followed by for example, ted ted ted Document the commands you used at the command line to create these directories in your lab report.
Create a listing of all filesfolders 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.
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:absolutepath 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, homestudent Document the command you used to perform this copy in your lab report.
Return to the portion of this lab for the Linux VM above step
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started