News

Revisiting Christmas In The Terminal

Well, it’s the day before Christmas and a Linux Christmas can mean having Christmas in the terminal. If you do not celebrate the holiday, that’s fine. You can skip this article and move along. If you do celebrate this holiday, you might as well have a Merry Linux Christmas!

Last year, we had Christmas in the terminal. This year, we’ll be doing the same thing – but not in the same way. If you want an easier and quicker way to have Christmas in the terminal, you should follow along with the first article. This one is quite a bit more involved.

Let’s Have Christmas In The Terminal

That one is nice and easy! I’m also writing this article quite a ways ahead of time. I’ll schedule it for the nearest possible day. Due to my publication schedule, this won’t be published on the holiday itself.

NOTE: I did this on Linux Mint 21.2, Cinnamon Edition. That just happened to be the computer I was using. You may not need all of these steps if you’re using a different distro. You may already have things like Go and Git available.

We’ll be playing with all sorts of silliness and doing things we’d not normally do on this site. I’ll give clear directions, as much as I can. I won’t be diving into details like I have lately. This is a holiday article and ain’t nobody got time for that!

Linux Christmas In The Terminal:

You will need an open terminal. As I did this in Mint, I was able to open a terminal by just pressing CTRL + ALT + T which is something you too should be able to do in most distros.

With your terminal now open, let’s get into a good directory:

cd ~/Downloads

Next, we’ll install Git.

sudo apt install git

Then we’ll download some files with Git.

git clone https://github.com/gleich/ctree

Now we move to the new directory:

cd ctree

This is in the language known as Go, so let’s get set up to compile that.

sudo apt install gccgo-go

Now we’ll do some compilation magic.

go build -v .

Let that finish and run this command:

./ctree

With any luck, you’ll see something like this in your terminal:

Tada! It even has blinking lights! That’s a rather festive terminal!

You can exit the program by pressing CTRL + C.

Of course, you can move the ctree file anywhere you want. If you want to just run it from the terminal, copy it to /usr/local/bin and you can do that. This being a temporary thing, I saw no reason to move the binary to a special location. If you do want to just run it anywhere in the terminal, you’d use this command:

sudo cp ./ctree /usr/local/bin

Enjoy your holiday celebrations!

Closure:

I don’t think this can become a tradition or anything like that. There are only so many Christmas-themed things out there that you can do in the terminal. I didn’t create this and I have no idea what I’ll be able to find for the next Christmas. We’ll have to wait and see what next year brings. Until then, keep being you!

Thanks for reading! If you want to help, or if the site has helped you, you can donate, register to help, write an article, or buy inexpensive hosting to start your site. If you scroll down, you can sign up for the newsletter, vote for the article, and comment.

KGIII

Retired mathematician, residing in the mountains of Maine. I may be old and wise, but I am not infallible. Please point out any errors. And, as always, thanks again for reading.

View Comments

    • Merry Christmas, indeed! Thanks for your readership and comments.

      I'll continue churning out the articles in the year to come. We did have some missed days (though I was able to schedule a notification) but things are back to normal at my house. The catastrophic storm means that some folks will never be quite back to normal, but I'm grateful that we came out of it with nothing so broken that money can't fix it.

      (If you've watched the news, I live in Maine. We got hammered with a wind storm and massive flooding. While I had electricity due to using solar/wind, the tower that carries my cell signal was out.)

Recent Posts

Enable/Disable Your Network Interface

Today we'll cover one way to enable or disable your network interface in the Linux…

6 months ago

Check Your NIC Speed In The Terminal

Today's exercise is a nice and simple exercise where we check your NIC speed in…

6 months ago

Easily Monitor Your Wireless Connection

Have you ever wanted to easily monitor your wireless connection? Well, now you can learn…

6 months ago

Count The Files In A Directory

I think I've covered this before with the ls command but this time we'll count…

6 months ago

Get System Information With The ‘uname’ Command In Linux

Today we'll be learning about a basic Linux command that's known as 'uname' and it…

6 months ago

hardinfo Has Been Rebooted As hardinfo2

If you've used hardinfo in the past, it may interest you to know that hardinfo…

6 months ago