Zsh is a shell program like bash. While it has many improvements and features that bash doesn’t have – like autocompletion and improved history navigation – bash is still the standard shell everyone is used to. You can mostly run bash scripts in zsh without any change since it’s designed to be compatible. Regarding setting […]
How to Use Docker Run –entrypoint
Docker is a way for developers to package applications with all their dependencies and configurations into a single image that can run on any setup, making it easy to port applications across machines in a consistent manner that removes all complaints such as “it works on my machine”. These images or containers are designed to […]
Neovim vs. Vim: What’s The Difference?
Vim, released in 1991 is now almost 30 years old. But far from being outdated software, vim is more integral to the Linux experience than ever. Every person who has used, or still uses Linux is also a vim user, and at the very least, has used it to peer into configuration files, if not […]
Dockerfile Add vs Copy: What’s the Difference?
Docker allows you to create “images” for your application that contain everything needed for the app to run on another machine. The process of creating this image is called “building,” and during this build process, you need to specify all the files and folders required for your application. You can add these in two ways. […]
How to Fix the “Docker Permission Denied” Error
Docker is a framework for downloading and easily installing applications on your server. If you don’t use Docker and install an application directly on your system, it can change your system files, and you may need to resolve dependencies, among other things. Uninstalling the application can leave stuff on your server as well. But with […]
All About Winget Upgrade in Windows
Those moving from one operating system to another must get used to a new way of doing things. If you’re a lifetime Windows user, you need to familiarize yourself with the concept of packages, repositories, and more because you come from a world where you download a file from the Internet or external media, double-click […]
All You Need To Know About How To Paste In Vim
Vim has a surprisingly robust pasting mechanism. For what looks like a basic text editing program, you can perform complex wizardry using concepts like registers, and you can even enhance its pasting functionality using plugins. All of this without resorting to a mouse! Vim is an exemplary example of how a keyboard-based tool can encapsulate […]
How To Do Bash Math, And When To Use It
Bash math refers to the mathematical operations you can conduct on the Linux terminal. Normally, you wouldn’t associate bash with math operations – after all, why would you choose to type in clunky commands on the terminal, when you could open a calculator instead? However, there are some surprisingly useful use case scenarios where it […]
How to Use the xxd Command in Linux
We use the xxd command in Linux to convert a file into its hex equivalent and to show the hex output side by side with the ASCII representation. This might seem like a niche use case scenario, but it’s surprisingly useful for debugging. There are certain file formats, for example, that are supposed to start […]
How to Use “envsubst” In Linux
The “envsubst” tool is part of the GNU’s “gettext” package that programmers use to create multilingual programs. We use envsubst to substitute environment variables in a file or a data stream. This is particularly useful when creating and adapting configuration file templates in a variety of scenarios. For example, you sometimes have a template configuration […]
