LinuxQuestions.org
Review your favorite Linux distribution.
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 02-06-2013, 07:37 AM   #1
Gmorrison50
LQ Newbie
 
Registered: Feb 2013
Posts: 1

Rep: Reputation: Disabled
Linux DD utility


I'm new linux and wondering if there are any tutorials on how to use the utility linux DD?
 
Old 02-06-2013, 07:54 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389
There's a rather extensive thread here on LQ that deals with the in and outs of the dd command

- Learn The DD Command Revised
 
Old 02-06-2013, 03:33 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 16,346

Rep: Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376
All them tend to start out with a warning of how easy it is to wreck your data. If you are new to linux, then be careful with that command.
 
Old 02-07-2013, 07:40 AM   #4
Chris E
Member
 
Registered: Jun 2008
Location: Berkshire, UK.
Distribution: CentOS
Posts: 31

Rep: Reputation: 2
In it's simplest form there are two options if = INPUT and of= OUTPUT e.g.

dd if=/dev/zero of=/somefile

This would create an empty file full of zeroes and keep writing to it until you cancel. Just remember however you use DD, there is never any user confirmation so be very careful when typing paths becuase if you accidently put of=/ somefile instead of =/somefile you could end up trashing your filesystem by writing zeroes over it.

You can also specify byte sizes and the number of counts etc. Type "man dd" and you should have lots of syntax etc in there.
 
  


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
Utility for Disk Usage / Treesize utility teknoratti Linux - Software 1 06-08-2011 02:53 AM
Linux Utility s0n|k Linux - Newbie 4 02-26-2006 02:08 PM
is there a linux utility.... linuxnube Linux - Software 4 01-22-2004 01:45 PM
Help with a linux utility Ripper951 Linux - General 6 01-12-2003 01:00 PM


All times are GMT -5. The time now is 10:24 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration