-
Bash's exec Replaces Shell
This is a quick look at Bash’s
Read more…exec
builtin with a simple example. -
Commands in Pipelines Are Executed in Subshells
Let’s have a look at another one of those gotchas that can bite you while scripting in Bash: processes that are part of a pipeline all run in subshells.
Read more… -
Create Persistent Connections to Processes Using FIFOs
In this post, we are going to make a Bash script interact with an HTTP server and have multiple exchanges using the same connection by leveraging named pipes/FIFOs.
Read more… -
Upgrade Password Hashing Method for Existing Users
When you’ve been using the same Linux system for a while, you might want to upgrade the password hashing methods used. This article explains how to discover the methods supported by your system, set the preferred method and then upgrade the password hashes to make use of the new hashing method.
Read more… -
Maven Wrapper Integrity Validation
Maven is modular. It uses plugins to achieve its goals. These plugins are downloaded when they are invoked.
Read more… -
Prevent Exit When Receiving SIGPIPE with Pipefail Set
When a program that is part of a pipeline quits, it closes its stdin and stdout. Programs that produce the input for the quitted process may still try to write to its stdin. Since they cannot, they will receive a SIGPIPE from the kernel.
Read more… -
Create MacOS App Bundle from Script
I’m going to show how to create the smallest possible MacOS app bundle we can: one that simply executes a Bash script. Then, I’m going to expand a bit on that and add an icon to it. I’ll also show how open a Terminal app window so we can see the script’s output in it.
Read more… -
Make passmenu Show GUI Pinentry When Using Pinentry Curses by Default
Let’s take a look at how to use a GUI
Read more…pinentry
for one program, andcurses
for everything else. -
Readline .inputrc Configuration Examples
These are some of my favorite
Read more…readline
tweaks. -
Sudo With Examples
I’ve recently finished “Sudo Mastery” by Michael W. Lucas. He’s a great and fun author that writes both technical guides and novels. I bought his "$ git commit murder" some years ago and was sold.
This post is basically a write-down of what I learned about
Read more…sudo
from his book.