Created
March 25, 2019 19:19
-
-
Save martinhj/6e95b42d54f57db3e5b42149e5204d4f to your computer and use it in GitHub Desktop.
rerun command stored in env variable
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
| # EXPORT COMMAND FIRST | |
| export COMMAND="dd if=/dev/urandom of=secret.tar.bz2 bs=56724259 count=1 conv=notrunc" | |
| # THEN | |
| for ((n=1;n<8;n++)); do eval $COMMAND; done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment