Recent Posts

Manipulating dates in shell

2 minute read

After a long time, I had to automate some of my workflow using shell scripts. One of the functions was to lookup something based on relative dates. Having us...

Playing with shared memory in Linux and macOS

7 minute read

Reading the operating system internals is like going down the rabbit hole. It is so easy start at one topic, get lost and end up in a totally different topic...

Running Ubuntu VM with multipass

6 minute read

While working on a sample C application on my mac, I wanted to run it on a Linux box for some comparisons and portability checks. I usually spin up a Linux i...

Changing shmem size of a docker container

1 minute read

Recently, I was playing around with a containerized application having processes using shared memory for communication. It turned out to be a good learning e...

Exploring man page settings

2 minute read

When running man command, the pages are searched first in the path given by option -M if specified. If -M is not specified, then the path specified in MANPAT...