Question: 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  PART 1 LINUX please include the code Part I: LAB: On

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

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 Databases Questions!