Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Ex. 2 - Exploring the files (8 Points) 1. (a) (2 Points) Use the cd command to move to the /home/2013/jdsilv2/206/guides directory. From this directory,

image text in transcribed
image text in transcribed
Ex. 2 - Exploring the files (8 Points) 1. (a) (2 Points) Use the cd command to move to the /home/2013/jdsilv2/206/guides directory. From this directory, use pipe to make the 1s and grep commands (with appropriate arguments to them) to interact such that it produces the following output. The names and order of the files and the content format of the output should be the same. -ru-r--r-- 1 jdsilv2 root 22682 Jan 5 2004 C-editing-with-VIM-HOWTO drwxr-xr-x 2 jdeilv2 root 3 Jul 14 13:18 VIM $ Turn in a screen shot that shows the command you executed and the output that it produces as EX2.1.PNG or EX2.1.JPG. (b) (1 Point) From here, copy the file C-editing-with-VIM-HOWTO into the guides directory you had created above using the cp command. (c) (1 Point) From inside the guides directory, execute the pud command, (d) (1 Point) From within the guides directory, execute the la command. Make sure that the le command show that the file was created by your ser id, and its timestamp size, etc. Turn in a screen shot that shows the cp. pud, and la commands and the output (if any) that they produce. Include all of it in a single screen shot, EX2_2.PNG or EX2_2.JPG 2. (A) (1 Point) From within the guides directory, execute the pud command. (b) (1 Point) Rename the file C-editing-with-VIN-HOWTO to C-editing-with-VIM-HOWTO.txt (e) (1 Point) From within the guides directory, execute the le command. Make sure that the le command shows that the old file name has been replaced by the new one, 2 Turn in a screen shot that shows the pud, cp commands and the output (if any) that they pro duce. Include all of it in a single screen shot, EX2.3.PNG or EX23.JPG Ex. 3 Transfering files to and from Mimi (4 Points) 1. In this exercise, you are going to transfer files between your personal computer and mimi using the File Transfer Protocol (FTP). Using your File Transfer program of choice (we recommend FileZilla or WinSCP). begin by connecting to mimi.cs.mcgill.ca (sftp://mimi.cs.mcgill.ca if using FileZilla). 2. (2 Points) In your File Transfer program, on the remote side, make your way to the docs directory that you had created and upload the screenshots taken for the previous exercises from your personal computer to mimi. Take a screenshot of the File Transfer program window showing that the files have been uploaded to mimi. Turn it in as EX3.PNG or EX3.JPG 3. (2 Points) Again using your File Transfer program of choice, download the C-editing-with-VIM-HOWTO.txt file in your txt directory to your computer. Turn in the C-editing-with-VIM-HOWTO.txt file. If you are using a command line file transfer utility (eg. scp) instead of a GUI based file transfer utility such as FileZilla or WinSCP, make sure to include a listing of files in the directory of your local computer's termi- nal to demonstrate that those files were not present in your local computer (or mimi - depending on the direction of file transfer) before the copy process was executed and that they were present after the copy process were executed. NOTE:- The prompt ($) in your command line interface will most likely look different than the above examples and will have your user id, etc., This is fine

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

Database Concepts

Authors: David M. Kroenke, David J. Auer

7th edition

133544621, 133544626, 0-13-354462-1, 978-0133544626

More Books

Students also viewed these Databases questions