This might help you From the discussion it turned out that you not really intended to redirect the output of already running processes to somewhere else. But you seem to be trying to modify the output of a process you are starting . With bash (seems to be what you are using) you may use [FD]>TARGET resp. [FD]. (2 is the well-known file descriptor for stderr). TARGET or SOURCE my be file system objects (e.g. files, devices, named pipes, unix domain sockets) or &FD where FD again is a file descriptor number and indicates the (open) filedescriptor to use.