Skip to content

Instantly share code, notes, and snippets.

@smujohnson
Created December 2, 2013 17:42
Show Gist options
  • Save smujohnson/7753339 to your computer and use it in GitHub Desktop.
Save smujohnson/7753339 to your computer and use it in GitHub Desktop.
sjohnson@web1:~/http$ animal() { echo pig ; }
sjohnson@web1:~/http$ animal
pig
sjohnson@web1:~/http$ type animal
animal is a function
animal ()
{
echo pig
}
sjohnson@web1:~/http$ unset animal
sjohnson@web1:~/http$ type animal
-bash: type: animal: not found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment