Skip to content
Advertisement

Tag: file-descriptor

sending input from file descriptor

I have a binary that I’m debugging remotely, one way for me to send input to that file is throw when I do the above the input is been received by the binary but I can’t simulate a keypress, and that causes me to switch to that binary and press enter every time. here is an example when you run

How can I redirect the output of a process file write?

I have a legacy app running that sends its output to log files. Rather than tail and manage those log files, I want to capture the output before it hits the disk and send it off elsewhere on the network (using syslog, or fluentd, or logstash, etc.). Is there any way I can capture the output without changing the application

Advertisement