Last active
September 23, 2021 12:17
-
-
Save yuchdev/3443e1cb87e062497efe02476d77729a to your computer and use it in GitHub Desktop.
Linux: dd with progress
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Method 1 | |
dd if=/dev/urandom of=/dev/null status=progress | |
# Method 2 | |
# You just need to enter a controlT character from the keyboard while the dd command is executing. | |
# By pressing the controlT character, you are sending the same SIGINFO signal to the dd command | |
# that the command pkill -INFO -x dd sends. | |
# Method 3 | |
dd if=/dev/urandom | pv | of=/dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment