Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I ran a shell command the other day which produced more output than expected. It was writing to a file on a filesystem with very little available space and could have filled the filesystem. The command took a long time to run so rather than rerunning it with a different output location, I would like to have been able to switch the output destination while it was running. Is this possible?

I know that renaming the file wouldn't work because the system uses the inode number rather than the name, what options do I have?

share|improve this question

Look at this one:


share|improve this answer
Please include some detail as to what the link contains; if the site goes down, the answer in its current state will be useless... – jasonwryan Aug 9 '12 at 17:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.