Ok, acho que o que você quer é um script para baixar uma essência específica sem a necessidade de usar seu navegador da web. Algo parecido com isto:
#!/bin/sh
# gist-dl.sh: download a Github gist from a specified link to either a
# standard output (when no second argument passed) or to a
# specified file (with second argument passed). The first
# argument is a gist URL and is obligatory
if [ "$1"a = a ]
then
echo No gist URL passed. Bye
exit 1
fi
if [ "$2"a = a ]
then
wget -q -O - "$1"/raw
else
wget -q -O "$2" "$1"/raw
fi
Uso:
$ # display a gist in terminal
$ ./gist-dl.sh https://gist.github.com/kylejohnson/6c6c0ca2d300ffce4bea
<VirtualHost *:80>
ServerName zm
ServerAdmin webmaster@localhost
DocumentRoot "/var/www/zm"
<Directory "/var/www/zm">
Options FollowSymLinks
AllowOverride All
</Directory>
ScriptAlias /cgi-bin/ "/usr/lib/cgi-bin/"
<Directory "/usr/lib/cgi-bin">
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
AllowOverride All
</Directory>
ErrorLog /var/log/apache2/zm-error.log
LogLevel warn
CustomLog /var/log/apache2/zm-access.log combined
</VirtualHost>
$ # download a gist to GIST.txt
$ ./gist-dl.sh https://gist.github.com/kylejohnson/6c6c0ca2d300ffce4bea GIST.txt
$ cat GIST.txt
<VirtualHost *:80>
ServerName zm
ServerAdmin webmaster@localhost
DocumentRoot "/var/www/zm"
<Directory "/var/www/zm">
Options FollowSymLinks
AllowOverride All
</Directory>
ScriptAlias /cgi-bin/ "/usr/lib/cgi-bin/"
<Directory "/usr/lib/cgi-bin">
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
AllowOverride All
</Directory>
ErrorLog /var/log/apache2/zm-error.log
LogLevel warn
CustomLog /var/log/apache2/zm-access.log combined
</VirtualHost>