Manthan L.

asked • 02/15/19

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,

Thank you

1 Expert Answer


Patrick B. answered • 02/17/19

4.7 (31)

Math and computer tutor/teacher

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.


Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.