Home Command line fun Display Animated Christmas Tree In Terminal

Display Animated Christmas Tree In Terminal

By sk
8.7K views

It is Christmas!! On behalf of OSTechNix, I wish you all a Merry Christmas and a Happy New Year in advance! In this festive occasion, we will show you how to display an animated Christmas tree in Terminal in Linux.

We created this simple BASH script as a Christmas present to our beloved readers and followers. It is freely available in our OSTechNix GitHub Gist page. You can download it, modify the message, size of the tree, color of the tree, leaves, and trunk etc., and run it!

Display Animated Christmas Tree In Terminal

Open your terminal and download this Christmas tree Bash script using the following command:

$ wget -d -c -O "christmas.sh" https://gist.githubusercontent.com/ostechnix/66cecb6bbb9e35a492bccb9c6ecc5d9d/raw/4c6182a4fcbee545678824775aad08e0e265855a/bashmastree.sh

If you want to customize Christmas tree as per your liking, open the downloaded script in your favorite editor and change the values as you please.

Make it executable using command:

$ chmod +x christmas.sh

Finally, display the animated Christmas tree in your BASH:

$ ./christmas.sh

And, the result is....

Displaying Animated Christmas Tree in Terminal in Linux
Displaying Animated Christmas Tree in Terminal in Linux

Cool, yeah?

Here is the visual demo of Christmas tree in Terminal:

Displaying Animated Christmas Tree in Terminal in Linux
Displaying Animated Christmas Tree in Terminal in Linux

Once again, Merry Christmas and a Happy New Year from all of us!

You May Also Like

Leave a Comment

* By using this form you agree with the storage and handling of your data by this website.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

This website uses cookies to improve your experience. By using this site, we will assume that you're OK with it. Accept Read More