How to put a linuxero and animated Christmas tree in the terminal of your operating system

Christmas tree at the Manjaro terminal

Although some of us have already been on the subject for days or even weeks, Christmas does not begin in countries like Spain until tomorrow the 22nd, more specifically coinciding with the Christmas raffle. So today the 21st is a good time for a server to congratulate everyone on Christmas, including those who read us from Windows;) We like Christmas more or less, what is more Christmas than decorations? Well, in this article we are going to teach you how to put one, more specifically a animated christmas tree (different to this) in your terminal.

What we are going to explain here are two ways to achieve it, and this will work on any Linux based operating system. The first is the easy and the official one, but the text will be in English and not personalized. In the second I will explain how to make it something more personal, but that it can be a little more complicated. In any case, you will see a moving Christmas tree, shabby, but very linuxero.

How to download the christmas tree script

The official way to get the Christmas tree is by following these steps:

  1. We open a terminal and write the following:
wget https://raw.githubusercontent.com/sergiolepore/ChristBASHTree/master/tree-EN.sh
  1. Next, we make the file executable with this other command:
chmod +x tree-EN.sh
  1. And finally, we execute it with this other command:
./tree-EN.sh

And that would be it ... if you want it in English.

How to customize the text

If you want it in Spanish or with other messages, I recommend you follow other steps:

  1. We copy the URL of the script, we paste it in the URL box of the browser and we give it to enter, or we directly click here!.
  2. It will open a page with a lot of text. We select everything and copy it.
  3. We create a text file, or we open a text editor and paste the code into it.
  4. Next, we find where it says "MERRY CHRISTMAS" and we say "Merry Christmas."
  5. On the bottom line, "$ new_year" is for next year's number, which this year is "2021," so we leave it.
  6. Below we look for "CODE" which is what will be seen in different colors, and there we add another text.
  7. To make it come out as we want, depending on the text entered, we must change the value "(C - 10)" in the line where it says "And lots of CODE in $ new_year". In order for it to come out just as you have it in the header capture, I had to put an «11».
  8. We save the file as Christmas.sh.
  9. We make it executable, which can be done as in the official method or by right clicking and allowing it to run as a program.
  10. Finally, we execute it, which can also be done as in the official method or simply by dragging the file to a terminal and pressing enter.

And that would be all. It is not an application that will save our lives, but it is one that helps us to wish you a Merry Christmas, and we have done so.


The content of the article adheres to our principles of editorial ethics. To report an error click here!.

6 comments, leave yours

Leave a Comment

Your email address will not be published.

*

*

  1. Responsible for the data: AB Internet Networks 2008 SL
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Manual said

    Greetings from Chicago. I have been following them for quite some time and I am satisfied with their content. They have fairly up-to-date information. One suggestion that I would like you to consider is to have a special section on the topic of music playback on Linux.
    I'm not just talking about the different players, I'm talking about something more specialized such as the "perfect bit" for hi-fi music playback. Thank you very much for your attention and have a merry Christmas.

  2.   qtrit said

    Who doesn't want to have a tree in animated ASCII characters? .. XD

    1.    pablinux said

      "It is not an application that will save our lives, but it is one that helps us to wish you a Merry Christmas, and we have done so";)

  3.   mikelet said

    "1. We open a terminal and write the following: »

    It would be necessary to put «wget«. If you put the url directly in the terminal it will give you an error.

  4.   mikelet said

    "two. Next, we make the file executable with this other command:

    chmod + x christmas.sh »

    * It would have to be:

    chmod + x tree-EN.sh

    y:

    ./tree-EN.sh

  5.   Danilo Quispe Lucana said

    There is also a version already in Spanish (by the same author):

    wget https://raw.githubusercontent.com/sergiolepore/ChristBASHTree/master/tree-ES.sh

    Greetings :)