The tag has no wiki summary.

learn more… | top users | synonyms

5
votes
1answer
59 views

How many ways does Unix feign files?

I know Unix filesystem sometimes has things that appear to be files but are not actually files. The files in dev actually point to devices. Its also possible to created named pipes which also appear ...
3
votes
2answers
10k views

In windows, can I redirect stdout to a (named) pipe in command line?

Is there a way to redirect the standard output of a process in Win32 console to a named pipe? Named pipes are built in to Windows and while they would be an useful concept, I've never seen them used ...
2
votes
1answer
1k views

How long do FIFOs (named pipes) stay “open” for?

For example, I have a script that writes the time to a pipe in /etc/pipe. It writes continuously in a while true loop. How long will the data in the pipe be available for reading? If I only decide to ...
2
votes
2answers
413 views

Linux job queue for FFmpeg conversion

I'm starting up a Debian web server which will host a website where users can upload video files and play them. Hence, the video files need to be converted into the proper format (mp4, ogg, webm) for ...
2
votes
2answers
551 views

Keeping bash open on a named pipe

I'm looking to send commands to a separate tmux pane from vim and I figured the easiest way was to mkfifo a named pipe /tmp/cmds and run bash < /tmp/cmds to listen for commands to run. I then do ...
2
votes
1answer
213 views

how to convert a script using pipelines to named pipes

I have a bash script that is using anonymous pipes to achieve: grabbing video from dv capture device writing to a file (using tee) piping it to ffmpeg2theora (converting to ogv/theora video) writing ...
2
votes
2answers
970 views

Use netcat as a proxy to log traffic

I want to use netcat as a proxy to log http requests and responses to files, then tail these to inspect traffic. Think wireshark. Tried the following where 'fifo' is a named pipe, 'in' and 'out' are ...
2
votes
1answer
2k views

IO redirection with mkpipe for logging purposes

I have a bunch of scripts that send output to stdout. I am redirecting the output to files, but these files get large very very quickly. For example: ./script_with_lots_of_outpu.sh 2>&1 ...
1
vote
1answer
260 views

How do I feed FFMPEG with JPEG images via Named Pipe?

Normally you can feed FFMPEG with images from the file system using -f image2, but this doesn't work when you have a named pipe as input: FFMPEG complatins that "index in the range 0-4" could not be ...
1
vote
0answers
861 views

Using a named pipe to simulate a serial port on a VMware virtual machine (linux host and client)

Trying to write a python program to create a simulated data stream and feed it, through a named pipe, to a VMware virtual machine. The host is running Ubuntu 11.10 and VMware player 5.0.0. The Vm is ...
0
votes
1answer
62 views

How to send message both to netcat and other script?

I'm trying to make some client-server interface. Think of it as one-on-one chat. What I want to achieve are two horizontal views. Bottom for my (server) input, top for client output and my input. ...
0
votes
0answers
58 views

Read the COM1 output of a Hyper-V guest system

I have a guest O/S that writes debug output to the COM1 UART. This port is virtualized by the Hyper-V host. The Hyper-V Server allows only a redirection to a "named pipe". I want to read what the ...
0
votes
1answer
173 views

update terminal title from standard output of long running command?

I'd like to change the title of a terminal window during a long running command (for example: git svn fetch) with values greped from the output, whilst still writing to standard output. Is this ...