Linux Candy

Linux Candy: ponysay – cowsay reimplemention for ponies

Last Updated on May 25, 2022

In Operation

ponysay displays an image of a pony saying some text provided by the user in a terminal or a quote from the show My Little Pony: Friendship is Magic (MLP:FiM)

If a message is not provided, it accepts standard input, word-wraps the message given at about 60 columns, and prints the pony saying the given message on standard output.

Combine ponysay with other command-line software. For example, pipe the output from fortune1 to ponysay with:

$ fortune | ponysay

ponysay - fortune

By default, ponysay will display a random pony from its collection. You can select a specific pony with ponysay -f PONY. For example, here’s the doctor.

ponysay doctor

For a list ponies, type ponysay -l.

1 fortune is a program that displays a pseudo-random message from a database of quotations. Versions of the software date back to the 1980s, but it’s still an ever-present in Linux distributions.

Next page: Page 3 – Other Features

Pages in this article:
Page 1 – Introduction / Installation
Page 2 – In Operation
Page 3 – Other Features
Page 4 – Summary

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Please read our Comment FAQ before posting a comment.

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments