\"Guild to Unix Using Linux\" Using the vi editor, create a new file named mtpoe
ID: 3689280 • Letter: #
Question
"Guild to Unix Using Linux"
Using the vi editor, create a new file named mtpoem. In the file, type these words: Roses are red Violets are blue Some poems rhyme But this one doesn’t Next, copy all four lines of this poem into the vi buffer. Paste the poem back into the document 200 times (efficiently – don’t repeat a command 200 times manually), so you have 201 copies of the poem in your document. Save the mtpoem file before quitting. Record the command you used to paste the poem 200 times here: ____________________________________
Explanation / Answer
To create a file by vi editor,
It opens a editor in that
Roses are red Violets are blue Some poems rhyme But this one doesn’t Next
Vi mtpoem and pate it two hundred times totally 201 in that file.
$ paste mtpoem
Press key esc to come out of edit mode.
Press two keys Shift + ZZ together to come out of the file completely
it prints 200 times ..
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.