Skip to content

Instantly share code, notes, and snippets.

@ctaloi
Created December 20, 2016 21:08
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 ctaloi/8ce81094d2924979b422bafe67a23d48 to your computer and use it in GitHub Desktop.
Save ctaloi/8ce81094d2924979b422bafe67a23d48 to your computer and use it in GitHub Desktop.
bash for loop
#!/bin/bash
for i in {0..9}
do
echo "no interface Async2/0$i"
echo "no interface Async3/0$i"
echo "no interface Async4/0$i"
done
for i in {10..107}
do
echo "no interface Async2/$i"
echo "no interface Async3/$i"
echo "no interface Async4/$i"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment