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 11-19-2010, 08:46 PM   #1
morella
LQ Newbie
 
Registered: Nov 2010
Posts: 3

Rep: Reputation: 0
How do i know when dd command has finished?


Hi! I'm trying to put zero in one hd (60GB) toshiba. So i use the command sudo dd if=/dev/zero of=/dev/sdx. I learned to see the status and now after 24hrs the status is:
Code:
111108189+0 records in
111108189+0 records out
56887392768 bytes (57 GB) copied, 85620,7 seconds, 664 kb/s
So, when do i know when the task is complete? I thought that when reached about 55GB has stop. Because one hd with 60GB has actualy 55GB.

Thx!
 
Old 11-19-2010, 08:57 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,721

Rep: Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120
You'll get a similar display. 60GB is about 55GiB - much different.

Forget to mention - in future use a (large) bs on that command; will speed it up mightily.
 
Old 11-19-2010, 09:08 PM   #3
morella
LQ Newbie
 
Registered: Nov 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Did mean when display about 600000000000 bytes (60 GB) then the task finally finish?
 
Old 11-19-2010, 09:12 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,721

Rep: Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120
Yep.
 
Old 11-19-2010, 09:25 PM   #5
morella
LQ Newbie
 
Registered: Nov 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Ok thx! So what is that bs you have mention and how can i use in the command line in the future?
 
Old 11-19-2010, 09:46 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,721

Rep: Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120
I just use a Meg, but I see a Gig is mentioned in the manpage - perhaps try that on a decent size drive.
 
  


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
finished lfs 6.3.... @d4M Linux From Scratch 9 02-10-2009 09:07 AM
Start one command after another has finished snowman81 Programming 6 12-18-2007 04:03 AM
What do you do after all is finished mdkusr General 12 01-29-2006 11:44 PM
Finished Slackware installed and booted to a command prompt sledd Slackware 6 11-28-2004 05:59 PM
i finished the install but now what? awesome_man Linux - Newbie 1 11-15-2003 02:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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