Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

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

Mathematical Interest Theory

Authors: Leslie Jane, James Daniel, Federer Vaaler

3rd Edition

147046568X, 978-1470465681

More Books

Students also viewed these Mathematics questions

Question

How do small businesses pinpoint their target markets? s-6253

Answered: 1 week ago