Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help with the following commands I would need to use in Linux for this assignment: a. Use wget to retrieve the index page from

Please help with the following commands I would need to use in Linux for this assignment:

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

a. Use wget to retrieve the index page from www.cisco.com, Note The index files may have ^M characters run. These characters won't effect the process but can be removed with the following command: -dr' index.html >indexl.html Explain exactly what -d Ir, index.html > index.html does?(answer this questions in a txt file and add it to the zip file you turn in. b. Look over the index1 html you will see entries with that look like links, (lines such as li> lab3-2.txt is not allowed. Review the links in the file, how can you extract the web address from this file? Is there a delimiter we can use to trim down the result further? d. i. To trim down or cut text from a file we can use the cut command. The basic command such as cut -d", "-/3 would use a comma as a delimiter and return the 3rd field or token based on that delimiter. In addition, use the man pages to learn about cut ii. So the question is what delimiter would help us here? iii. Pipe the cut command to the original grep command. (save as lab3-2.tct) a. Use wget to retrieve the index page from www.cisco.com, Note The index files may have ^M characters run. These characters won't effect the process but can be removed with the following command: -dr' index.html >indexl.html Explain exactly what -d Ir, index.html > index.html does?(answer this questions in a txt file and add it to the zip file you turn in. b. Look over the index1 html you will see entries with that look like links, (lines such as li> lab3-2.txt is not allowed. Review the links in the file, how can you extract the web address from this file? Is there a delimiter we can use to trim down the result further? d. i. To trim down or cut text from a file we can use the cut command. The basic command such as cut -d", "-/3 would use a comma as a delimiter and return the 3rd field or token based on that delimiter. In addition, use the man pages to learn about cut ii. So the question is what delimiter would help us here? iii. Pipe the cut command to the original grep command. (save as lab3-2.tct)

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

DB2 11 The Database For Big Data And Analytics

Authors: Cristian Molaro, Surekha Parekh, Terry Purcell, Julian Stuhler

1st Edition

1583473858, 978-1583473856

More Books

Students also viewed these Databases questions

Question

Discuss the states of accounting

Answered: 1 week ago