[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] dd and cat
- Subject: [ale] dd and cat
- From: kenn at pcintelligent.com (Ken N)
- Date: Fri, 9 Jun 2000 15:41:01 +0000 (GMT)
I believe dd is better at error checking as it writes the file. Cat just
dumps the data there and doesn't know if there was an error.
http://cleveland.lug.net/~rocket/
The answer is simple if you grant that ironies are like submarines;
dangerous only when submerged.
On Fri, 9 Jun 2000, Ben Phillips wrote:
> If I want to replicate, say, a floppy disk, I can do it with 'cat /dev/fd0 >
> image' followed by repeated instances of 'cat image > /dev/fd0'.
>
> But the recommended way to do that is usually with 'dd' instead. Why? What
> do they do different?
>
>
> __ _
> Ben Phillips / '_' ) ,,, "Bulls do not win bull fights;
> pynk at cc.gatech.edu | | ()|||||||||[:::) people do. People do not win
> \__.-._) ''' people fights; lawyers do."
> -- Norman Augustine
>
> --
> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.
>
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.