Unix command redirection

Hi all,,
Is there any way to redirect the command o/p directaly to a memory location instead of redirecting it to the file??

What do you mean by a "memory location"?

Technically a pipe is a memory based stream.