Answer the question
In order to leave comments, you need to log in
Bash: is it possible to do this kind of manipulation in one command?
Good afternoon, tell me if it is possible to somehow optimize this with a single command?
Show the contents of a file, copy to another, and show the contents of both files. $ cat myfile | tee mycopy && cat myfile mycopy
The question has no practical meaning, only theoretical.
Thanks in advance.
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