ZFS Testing on Fedora

When Fedora release kernel 4.20.*, the ZFS 0.7.12 could no longer compiled. Accoriding to the ZFS release page at Github zfs-0.7.12 is only compartible iwth kernels 2.6.32 - 4.19. At first I was going to just wait for the 0.8.0 release, and continue to use kernel 4.19. However, Fedora keeps releasing the updates of kernel 4.20. As of this writing, the current version of the kernel on Fedora 29 is 4....

January 31, 2019 · 2 min · 215 words · kenno

How to remove Ctrl-M characters from files

A short while back, after exporting my blog from WordPress to Hugo I noticed that there were some weird ^M characters in some files as shown in the following screenshot in blue. This is a special character, CTRL+M and can be removed using sed or vim. Using vim we can replace/substitute a text with the following command: %s/MATCH-TEXT/WITH-NEW-TEXT/g Therefore, we should be able to replace ^M, by typing CTRL+V then CTRL+M, with an empty space as so:...

January 6, 2019 · 1 min · 133 words · kenno

Connect to a WPA2-Enterprise Connection Using nmcli

This is like a re-post of a question from askubuntu.com. To get to that post, I usually had to google it. So, I’ll post it here so I know where to look for when I need it again. At work, we use WPA2-Enterprise for wireless connection. To create a new connection on my laptop with wlp3s0 as Wifi device, follow this step: That’s it if you know how to do it....

August 27, 2018 · 1 min · 81 words · kenno

RHEL Recovering the Root Password

Early last year I started a blog post about the preparation for Red Hat Certified System Administrator (RHCSA) exam. My intention back then was to have more posts follow suit about the exam topics. Like many things in life, things don’t always go according to plan. That was the only post, but I passed the RHCSA exam. Today, I’m going to start another new post about the preparation for the Red Hat Certified System Engineer (RHCSE) exam....

August 12, 2018 · 2 min · 376 words · kenno

Changing the urxvt font size on the fly (take 2)

A while back I posted an instruction on how to change the font size in urxvt (terminal emulator) on the fly. In that post, I used a perl extension from https://github.com/simmel/urxvt-resize-font. Tonight, I tried to setup this extension on a brand new laptop running Fedora 28. For some reason, it doesn’t work at all. Luckily, I found another perl extension which works quite well. Here’s how I got it working on this Fedora 28, with Sway tiling windows manager (instead of i3 because I run Wayland with this Fedora 28)....

July 5, 2018 · 1 min · 187 words · kenno