public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Pipe Lines - A really basic question
@ 2010-09-09 17:24 Matt Neimeyer
  2010-09-09 18:03 ` Etaoin Shrdlu
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Matt Neimeyer @ 2010-09-09 17:24 UTC (permalink / raw
  To: gentoo-user

My generic question is: When I'm using a pipe line series of commands
do I use up more/less space than doing things in sequence?

For example, I have a development Gentoo VM that has a hard drive that
is too small... I wanted to move a database off of that onto another
machine but when I tried the following I filled my partition and 'evil
things' happened...

mysqldump blah...
gzip blah...

In this specific case I added another virtual drive, mounted that and
went on with life but I'm curious if I could have gotten away with the
pipe line instead. Will doing something like this still use "twice"
the space?

mysqldump | gzip > file.sql.gz

OR going back to my generic question if I pipe line like "type | sort
| unique > output" does that only use 1x or 3x the disk space?

Thanks in advance!

Matt

P.S. If the answer is "it depends" how do know what it depends on?



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-09-10 19:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-09 17:24 [gentoo-user] Pipe Lines - A really basic question Matt Neimeyer
2010-09-09 18:03 ` Etaoin Shrdlu
2010-09-09 18:25 ` Andrea Conti
2010-09-09 19:19   ` Florian Philipp
2010-09-09 20:28     ` [gentoo-user] " Grant Edwards
2010-09-10 16:34       ` Florian Philipp
2010-09-10 18:33         ` Grant Edwards
2010-09-09 19:09 ` [gentoo-user] " Florian Philipp
2010-09-09 20:46 ` Daniel Troeder
2010-09-10 15:10   ` Paul Hartman
2010-09-10 15:22   ` Matt Neimeyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox