Skip to content

Instantly share code, notes, and snippets.

@gabrielrojasnyc
Created October 22, 2017 22:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gabrielrojasnyc/6a4759a9e58ff92b0ed88e3ab7317e32 to your computer and use it in GitHub Desktop.
Save gabrielrojasnyc/6a4759a9e58ff92b0ed88e3ab7317e32 to your computer and use it in GitHub Desktop.
file_bash.sh
#!/bin/bash
# Tested using bash version 4.1.5
start=$SECONDS
for ((i=1;i<=10;i++));
do
# your-unix-command-here
wget http://ipv4.download.thinkbroadband.com/1GB.zip
echo $i
done
duration=$(( SECONDS - start ))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment