Created
February 17, 2016 16:03
-
-
Save cswingler/6d3c06dcae839efbdc69 to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/bash | |
# a dumb shell script | |
echo "i'm a little shell script" | |
echo "short and stout" | |
echo "i'm not going to read stdin, this is stdout" | |
echo "when you invoke me, here me shout:" | |
echo "here's my environment" | |
env | |
set | |
echo "and now i'm just going to count" | |
count=0 | |
while [ true ] | |
do | |
sleep 1 | |
echo $count | |
((count++)) | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment