WizardOfBits
6 Aug 2025
Mutexes for Linux shell scripts
A mutex is a locking mechanism used to synchronize access to a resource. A mutex allows only one task to access the resource at a time. Linux shells do not have built-in mutexes. However, it is possible to simulate one using file operations.
Featured
Binding to ports lower than 1024 in Linux
In Linux, root privileges are required to bind to ports lower than 1024, (privileged ports). These ports are normally reserved for common services such as ftp, ssh, http and https.
31 Jul 2025Windows Object Handles
Handles are references to system resource such as memory, processes, threads, files, registry keys and device drivers. Lets explore how the windows kernel implements object handles.
6 Aug 2025Setting up NFS on Linux
NFS, Network File System, is a distributed file system protocol used for sharing files and directories over a network.
The files and directories can be accessed as if they were located on the remote computer.
7 Aug 2025Git: Starting afresh from a working repository
Git is an awesome story teller that tells your project's story through every commit. However, at times all you want is for it to forget your project's past and start the story afresh.
4 Sept 2025