How do I redirect the output and redirect it back into the input. Basically to automatically type the text outputted, into the command line.
Like this command:
$ locate ifcfg-eth0
would normally output:
$ /etc/sysconfig/network-scripts/ifcfg-eth0
instead of clearing the command and creating a new line I want it to do this
$ /etc/sysconfig/network-scripts/ifcfg-eth0(cursor blinking here)