In: Computer Science
Write the steps to use the vi editor command to create myfile. Insert the following lines of text save and display the result to STDOUT with cat command. line 5 line 6 line 3 line 2
esc + : colon and then press wq to save
sed -n 2p myfile && sed -n 3p myfile && sed -n
5p myfile && sed -n 6p myfile
if you have any doubt then please ask me without any hesitation in the comment section below , if you like my answer then please thumbs up for the answer , before giving thumbs down please discuss the question it may possible that we may understand the question different way and we can edit and change the answers if you argue, thanks :)