Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PART 1 LINUX please include the code Part I: LAB: On a Linux virtual machine (or cs1, cs2) terminal windows start the 'script' command to

PART 1 LINUX please include the code image text in transcribed
Part I: LAB: On a Linux virtual machine (or cs1, cs2) terminal windows start the 'script' command to capture the interaction with a bash shell into a file named 'wk06 RE_and textprocessing exercises.typescript', then perform the following operations: : Create a directory named mydata on your home directory 2 Go to that directory and download the files wk06data.txt and mypage.html into that directory Since the file wk06datatxt was created on a Windows (MS-DOS) machine every line ends with a CR (Carry Return, OxOD) and then LF (Line Feed 0x0A) characters. On the Unix environment a line in text files ends with a LF only. Verify that the file you have downloaded is still in MS-DOS text format (i.e. a line ending with a CR and then LF You should use the file command to verify. The output of the file command when applying to wk06data.txt should be: wk06data.txt: ASCII text, with CRLF line terminators s. Using the sed tool convert the file wk06data.txt from MS-DOS to Unix text format and store that in a new file named wk06data. Verify that the file is in Unix text format. Again the file command should be used for this verification and the output should be wk06data: ASCII text 4. s. Run command Is- I wk06data

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

Question

10:16 AM Sun Jan 29 Answered: 1 week ago

Answered: 1 week ago