Take multiple inputs in a single line in terminal
I want to know how to use multiple cimmand in a single line, so that once I hit enter then each command will be executed one by one and it will be completed once every command has been executed through it.
$ lscpu | script some-name
It is an example of my work, the problem is when I execute this code, each output is again executed by the terminal and freezes my process.
Please solve my issue,