today's howtos
-
Beginners Guide for Dir Command in Linux
The ls command is famous for showing the content of the current working directory and has become so popular that it outranks other commands like the dir command.
The dir command is rarely used today except for shell script; apart from that, both commands have no differences and provide no extra features.
In this article, you will learn how to use the “dir” command in the most practical way.
-
This is not a Monad Tutorial | John Azariah’s Blog
As a new functional programmer, I struggled with a lot of new terminology, intimidating mathematics, strange concepts – and virtually every discussion I had made me feel like my 2 decades of experience as a professional software engineer hadn’t prepared me for FP.
Now, after many years of working with FP in the industry, and having brought many people along the journey, I have some learnings about how to communicate some foundations of functional programming to professional software engineers – starting with why functional programming matters, how to get started, how to be effective, and how to improve over time.
One common pattern I’ve encountered in this space is that experienced FP-ers tend to talk about what something is, sometimes at great length, without providing any context of why it is useful, or what problem it solves. My aim in this blog post is to try and address this issue, and derive the motivation of the pattern from a concrete problem.
-
How to Install VMware Tools on Ubuntu 22.10/22.04/20.04
With VMware Tools installed, Ubuntu users can make the most of their virtual machines. Enjoy a seamless experience with enhanced features like a shared clipboard between VM and host system, lightning-fast drag-and-drop file transfer capabilities, and automated window resizing for added convenience.
In the following small tutorial, you will learn how to install VMware or Open VM tools on Ubuntu 22.10 Kinetic Kudu, Ubuntu 22.04 Jammy Jellyfish, or Ubuntu 20.04 Focal Fossa using cli commands. The installation will require a reboot, remember to do this, or else the installation will not become effective until you do.
-
Make sure acpid is killed at shutdown
acpid is a daemon, that is launched at startup by /etc/init.d/acpid. It is killed at shutdown, however one person reported that shutdown paused for 4 minutes until acpid terminated. Another person reported that it never terminated, so shutdown couldn't happen.
I have put in a fix; the TERM signal is tried, if that fails after 1 second the KILL signal is sent, and if that fails after 1 second, shutdown will continue.