![]() ![]() If you have a different distro, the command is pretty much the same. You can install fortune in Redhat, CentOS, Fedora of any yum based Linux distros using the following command: yum install fortune Usually fortune is available in all the basic standard repositories, otherwise just add them for your respective Linux version. You can install fortune in Debian, Ubuntu or Kali Linux or any aptitude/apt-get based distro using the following command: apt-get install fortune If you’re not familiar with fortune and cowsay then keep reading for details otherwise you can just jump into the code section. Few lines of codes, and my Linux terminal becomes more alive! However, I wanted to show a random creature saying different fortune quotes on my terminal.I could find random figment of instructions in different forums and decided to write a small guide on how to do it properly. Normally all the guides using fortune and cowsay uses the default creatures (a.k.a Cow!) to show different quotes. In 2007 it was highlighted as a Debian package of the day.įortune and Cowsay – random quotes and animals It is more or less a joke within hacker culture, but has been around long enough that its use is rather widespread. ![]() It is sometimes used on IRC, desktop screenshots, and in software documentation. Since it is written in Perl, it is adaptable to other systems such as Microsoft w files for cowsay exist which are able to produce different variants of “cows”, with different kinds of “eyes”, and so forth. Tony Monroe is credited as the original author. It can also generate pictures using pre-made images of other animals, such as Tux the Penguin, the Linux mascot. Distributions of fortune are usually bundled with a collection of themed files, containing sayings like those found on fortune cookies (hence the name), quotations from famous people, jokes, or poetry.Ĭowsay is a program which generates ASCII pictures of a cow with a message. The most common version on modern systems is the BSD fortune, originally written by Ken Arnold. Fortune is a simple program that displays a pseudorandom message from a database of quotations that first appeared in Version 7 Unix. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |