Answer the question
In order to leave comments, you need to log in
How to output individual lines to the console from a file?
there is a file, for example, with the following content:
"Peter
Petrenko"
it is necessary that the output in the console be:
"First name: Petya
Surname: Petrenko"
if you just had to display separate lines, then sed -n -e 1p -e 2p filename
how to change them first?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question