Visit Jeremy's Blog.
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, 03:08 AM   #1
Senior Member
Registered: Apr 2003
Posts: 3,576

Rep: Reputation: 54
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, 03:17 AM   #2
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,191
Blog Entries: 4

Rep: Reputation: 464Reputation: 464Reputation: 464Reputation: 464Reputation: 464
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, 07: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-25-2005 11:43 PM
Sendmail command line examples please. leongoogs Linux - General 2 07-21-2004 08:23 AM
kernel compling examples deneme1984 Linux From Scratch 3 09-15-2003 03:51 AM
IPTables examples? tarballed Linux - Security 7 12-27-2002 10:07 AM
FYI: need some more iptable examples? unSpawn Linux - Security 1 04-24-2002 12:02 PM

All times are GMT -5. The time now is 12:11 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