Question: Background: In this lab, you will use advanced UNIX/Linux commands to find files and specific strings contained in files. The grep command is used to

 Background: In this lab, you will use advanced UNIX/Linux commands to

Background: In this lab, you will use advanced UNIX/Linux commands to find files and specific strings contained in files. The grep command is used to search for specific string or characters in file and list the files and lines where they are found. Use the diagram of the sample Class File System directory tree to assist with this lab. Class File Tree Structure CSC156 Tour UserName Step 1. Open the terminal window Click Start->All Programs->PUTTY(64-bit) folder->PUTTY icon > enter "centos" onto both of Host Name and Saved Sessions text box to open a terminal window. Step 2. Use the command cmp Command to compare files a. To verify your current location, what command do you use? b. Change to the practice directory, if you are not at the practice directory. c. Use cat command to create the file named my_fruit. What command will you type at the command prompt? d. Type the following text, press Enter key at the end of each line

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!