From 36b078c9f65b9903649353ffa4fd2b93c5aea16e Mon Sep 17 00:00:00 2001 From: Roig Date: Tue, 12 Jan 2016 09:27:37 -0500 Subject: [PATCH] Updated dd cheatsheet with the built-in progress functionality --- cheat/cheatsheets/dd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cheat/cheatsheets/dd b/cheat/cheatsheets/dd index 2db5aaa..c919277 100644 --- a/cheat/cheatsheets/dd +++ b/cheat/cheatsheets/dd @@ -12,6 +12,9 @@ dd if=/dev/zero of=/dev/null bs=4KB &; export dd_pid=`pgrep '^dd'`; while [[ -d # Watch the progress of 'dd' with `pv` and `zenity` (apt-get install pv zenity) (pv -n /dev/zero | dd of=/dev/null bs=128M conv=notrunc,noerror) 2>&1 | zenity --title 'Running dd command (cloning), please wait...' --progress +# Watch the progress of 'dd' with the built-in `progress` functionality (introduced in coreutils v8.24) +dd if=/dev/zero of=/dev/null bs=128M status=progress + # DD with "graphical" return dcfldd if=/dev/zero of=/dev/null bs=500K