Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-05-2004, 04:08 AM   #1
Senior Member
Registered: Apr 2003
Posts: 3,673

Rep: Reputation: 55
Working examples of dd command

Hi folks,

Where can I find good examples of "dd command" (dd - convert and copy a file)

I could not find good working examples on 'man dd' and 'info dd'


Old 01-05-2004, 04:17 AM   #2
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 472Reputation: 472Reputation: 472Reputation: 472Reputation: 472
Here are a number of examples. I was hoping to give you one very good page, but as DD is such a versatile tool, have a read of all of them!
Old 01-05-2004, 08:23 AM   #3
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
dd if=[input] of=[output] bs=[blocksize in bytes (2048) or in kilobytes (2k)] count=[number of blocks]
Copies whole floppy to file:
dd if=/dev/fd0 of=/floppyinafile
Copies first sector (512 bytes) to file:
dd if=/dev/fd0 of=/floppysector bs=512 count=1
See related post that was near this one.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Application examples of cdrdao satimis Linux From Scratch 2 09-26-2005 12:43 AM
Sendmail command line examples please. leongoogs Linux - General 2 07-21-2004 09:23 AM
kernel compling examples deneme1984 Linux From Scratch 3 09-15-2003 04:51 AM
IPTables examples? tarballed Linux - Security 7 12-27-2002 11:07 AM
FYI: need some more iptable examples? unSpawn Linux - Security 1 04-24-2002 01:02 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration