LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

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

Rep: Reputation: 53
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'

TIA

B.R.
satimis
 
Old 01-05-2004, 04:17 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
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
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Code:
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.
 
  


Reply


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


All times are GMT -5. The time now is 07:00 AM.

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