Skip to content

Instantly share code, notes, and snippets.

@namick
Created March 9, 2013 23:17
Show Gist options
  • Save namick/5126226 to your computer and use it in GitHub Desktop.
Save namick/5126226 to your computer and use it in GitHub Desktop.
markdown shell script that installs cowsay

Install cowsay and run it

This is a test shell script written in markdown

First, record what we want to say.

words_of_wisdom="Excellent, now we can run shell scripts written in markdown"

Lets install the cowsay app. Maybe we want to use the three backticks for multiple lines of code.

apt-get update
apt-get -y install cowsay

Now run cowsay

cat $words_of_wisdom | cowsay

Yay!

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