Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello.
I like to use "dd" command and it show me the progress of task but I can't find any useful parameters. I fount "https://www.cyberciti.biz/faq/linux-...-while-coping/ it but my "dd" command not have any "status=progress" parameter!!!
Code:
dd: invalid status flag: ‘progress’
Try 'dd --help' for more information.
Hello.
I like to use "dd" command and it show me the progress of task but I can't find any useful parameters. I fount "https://www.cyberciti.biz/faq/linux-...-while-coping/ it but my "dd" command not have any "status=progress" parameter!!!
Code:
dd: invalid status flag: ‘progress’
Try 'dd --help' for more information.
Any idea?
Thank you.
status=progress is a standard feature of DD - see the official manual here
It is a standard feature for the dd command in coreutils version 8.24 or above. Earlier versions lack that feature.
Check the output from "dd --version".
Code:
$ dd --version
dd (coreutils) 8.23
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Paul Rubin, David MacKenzie, and Stuart Kemp.
yes, your dd is a bit outdated. You can use dcfldd (see post #2) - you may need to install it. It is almost fully compatible with dd and has status info.
Or you can use pv, see post #6. Also you can use sigusr1, see post #5
And finally you can try to upgrade your dd to 8.24 or newer.
Per post #2 ... +1 dcfldd, it's a fork of dd that "SHOWS PROGRESS".
dcfldd has basically the same syntax as dd. If the syntax does differ I don't know how (yet). I would imagine that it has an extra flag to turn OFF progress info if it does differ, but the default is ON. The smaller the bs= value, the more often it updates the progress information. Which probably means that it's pretty chatty if you let it default to 512 bytes. I normally do bs=1M so I get updates every 256MB-ish.
yes, your dd is a bit outdated. You can use dcfldd (see post #2) - you may need to install it. It is almost fully compatible with dd and has status info.
Or you can use pv, see post #6. Also you can use sigusr1, see post #5
And finally you can try to upgrade your dd to 8.24 or newer.
I guess it is the current version of Debian package because when I use "apt-get update" the "dd" not updated.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.