Skip to content

Instantly share code, notes, and snippets.

@junquera
Last active February 26, 2016 10:27
Show Gist options
  • Select an option

  • Save junquera/defe56ae99ab908e01df to your computer and use it in GitHub Desktop.

Select an option

Save junquera/defe56ae99ab908e01df to your computer and use it in GitHub Desktop.
Crear archivo $2 de tamaño $1

Ejemplo

Crear archivo de 10MB llamado prueba

$:- creaFile.sh 10MB prueba
dd bs=1 count="$1" if=/dev/urandom of="$2"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment