Skip to content

Instantly share code, notes, and snippets.

@chip
Created February 2, 2014 01:57
Show Gist options
  • Select an option

  • Save chip/8761936 to your computer and use it in GitHub Desktop.

Select an option

Save chip/8761936 to your computer and use it in GitHub Desktop.
#!/bin/bash
for i in 2 3 4 5 6 7 8 9; do
mv ex$i.html ex0$i.html
done
@chip
Copy link
Author

chip commented Feb 3, 2014

for loop could've also been:

for i in $(seq 9); do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment