Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

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

image text in transcribed

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: 1. Create a directory named mydata on your home directory Go to that directory and download the files wk06data.txt and mypage.html into that directory 3. Since the file wk06data.txt was created on a Windows (MS-DOS) machine every line ends with a CR (Carry Return, OXOD) and then LF (Line Feed, OXOA) 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 4. 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 5. Run command Is - wko6data*

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_2

Step: 3

blur-text-image_step3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students explore these related Databases questions

Question

=+ (b) Shows that Q agrees with P on Fo.

Answered: 3 weeks ago

Question

1

Answered: 3 weeks ago

Question

Identify cultural barriers to communication.

Answered: 3 weeks ago