Skip to content

Instantly share code, notes, and snippets.

@gnarargs
Created November 21, 2009 06:36
Show Gist options
  • Save gnarargs/240038 to your computer and use it in GitHub Desktop.
Save gnarargs/240038 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Usage: fox page1.html [page2.html pageN.html]
if [ $# -eq 0 ]
then
echo "must specify a file"
else
for page in $@
do
open -a Firefox ${page}
done
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment