All things Linux
Greet users with the message of the day
The message of the day is known as motd. It's used to send a message to users after logging into a shell, commonly used on hosts. You can generate ASCII art and paste it into the motd file to spice things up. I found that patorjk.com offers a nice w…
Migrate my search from Solr to Elasticsearch
An NRT (near-realtime) search platform. It's about a one second delay from the time a document is indexed until it is searchable. I have been using Solr for my search but have been wanting to migrate to Elasticsearch for experience in this technolog…
Uninstall an app from the terminal
I installed an application. It misbehaved. I wanted to try out a time tracking app. It should let me track reminders and record activity spent in meetings, out-of-office and on tasks I am working on, etc. I need to be able to interact with it in the…
SSH for Days
Mosh - the mobile shell. This remote terminal let's you roam with intermittent connectivity without breaking your SSH tunnel. The package must be installed on both the client and server and does not need to be run as a super user. It replaces intera…
Create a symlink for hidden files
I want to create a symlink for all hidden files excluding the hidden directories. I want to put my configuration files in my home directory into version control. I need to exclude the hidden directories because they contain binaries and what not. Us…
Using the tar Command in Linux
I used to right-click on a zipped file and manage the archive using the GUI. Gone are those days. Now I mainly work with tar files and need a cheat sheet to remember the commands for the terminal. 😊 You can find that at the end of this post. This po…
Checking Disk Usage in Linux
I had to find out much free space was available on a file system on a Linux server. Now getting this information on the GUI is simple - a few clicks, modals and stuff, but the server doesn't have a GUI so it's off to the terminal I go 😋 The other sc…
A Service Has Gone Rogue. How Do I Manage It?
Once I installed a development service on port 3000 and I forgot about it. When I ran my project I couldn't start it because the port was in use. Baffled. 😕 This post forms part of a sequence of command line references that I will be writing where I…
Setting up my environment in Fedora - Installing apps
I had to re-install so I documented my process. In this post, I focus on the installation of my most used apps. Get ready is Dandified YUM, a -based distribution package manager. To speed up the upgrade download times, try using fastest mirror. Ap…
Setting up my environment in Fedora - Customizing my shell
I had to re-install so I documented my process. In this post, I focus on configuring my shell for a personalized experience. Install Oh My Zsh zsh is an interactive shell with many features that improve the command line experience. Oh My Zsh is a ve…
Setting up my environment in Fedora - Creating a boot disk
I had to re-install so I documented my process. In this post, I focus on getting a Fedora 28 live media installation ready on a USB boot disk so that I can begin the installation process. Note: I am using a Lenovo Ideapad 330. When the logo appears …
Setting up my environment in Fedora - Creating backups
I had to re-install so I documented my process. In this post, I focus on getting my data backed up so that I can restore it after the installation. Whatever isn't in git gets archived. This is mainly my home directory. I want it backed up to my VM a…
Setting up my environment in Fedora
I needed to format my HDD because ... reasons. 😁 For a change, I decided to play around with Fedora instead of Ubuntu. The installation was painless and the user experience is much like what I am used to. I had a few hiccups on this journey mainly d…
Learning Linux
I have used Windows for over twenty years. Oh my goodness that's a long bloody time. Now I've joined the Linux world. It's thrilling. I'm loving it, learning, sharing (and as always - documenting) what I love and learn. Ubuntu's APT (Advanced Packag…