I have a scenario where I am printing something from an application to the linux CLI. I have another application that will be reading that value from the command line. Is there a linux command that I can execute that will read a line from the console? I am using a java application to write to the console and a asterisk box reading from the console. Thanks
Share
Use piping, e.g:
This allows you to redirect one process output to another process input.