Quantcast
Channel: dd vs cat -- is dd still relevant these days? - Unix & Linux Stack Exchange
Browsing latest articles
Browse All 10 View Live

Answer by Vincent Fourmond for dd vs cat -- is dd still relevant these days?

The reason why I'm using dd is the fact that it will output statistics if you send it a USR1 signal. So whenever I'm doing some long copying, such as writing an ISO file to a key or suchlikes, in...

View Article



Answer by Alexey for dd vs cat -- is dd still relevant these days?

You can redirect some output content. It's particularly useful, if you need to write with sudo:echo some_content | sudo dd status=none of=output.txtBesides sudo it's equivalent to:echo some_content...

View Article

Answer by synthesizerpatel for dd vs cat -- is dd still relevant these days?

Here are some dd tricks I've come up with over the years..Cut-and-Paste on unfriendly tty or non-interactive mode bashIf you're in a situation where EOF/^D/^F is not detected you can use dd to transfer...

View Article

Answer by Lauritz V. Thaulow for dd vs cat -- is dd still relevant these days?

No one has yet mentioned that you can use dd to create sparse files, though truncate can also be used for the same purpose.dd if=/dev/zero of=sparse-file bs=1 count=1 seek=10GBThis is almost instant...

View Article

Answer by timday for dd vs cat -- is dd still relevant these days?

I recently had had cause to clone some multiple-100s-of-GB partitions for the first time in my linuxing history (c.f cp -ar or rsync which have served me well many times). Of course I turned to dd'cos...

View Article


Answer by LawrenceC for dd vs cat -- is dd still relevant these days?

dd is very useful for backing up the boot sector of a hard drive or other storage device (dd if=/dev/sda of=boot_sector.bin bs=512 count=1 ) and then later rewriting it (dd if=boot_sector.bin...

View Article

Answer by Gilles 'SO- stop being evil' for dd vs cat -- is dd still relevant...

In appearance, dd is a tool from an IBM operating system that's retained its foreign appearance (its parameter passing), which performs some very rarely-used functions (such as EBCDIC to ASCII...

View Article

Answer by Caleb for dd vs cat -- is dd still relevant these days?

The dd command includes LOTS of options that cat is not able to accommodate. Perhaps in your usage cases cat is a workable substitute, but it is not a dd replacement.One example would be using dd to...

View Article


Answer by XQYZ for dd vs cat -- is dd still relevant these days?

Override specific segments of a hard-drive with something is a common example. For example you might want to delete your MBR using this command:dd if=/dev/zero of=/dev/sda bs=446 count=1Also you can...

View Article


dd vs cat -- is dd still relevant these days?

I recently realized we can use cat as much as dd, and it's actually faster than ddI know that dd was useful in dealing with tapes where block size actually mattered in correctness, not just...

View Article
Browsing latest articles
Browse All 10 View Live




Latest Images