Command Line Mastery, Shell Scripting and Automation

Fish Shell

24 minute read

Fish Shell is a user-friendly and interactive shell that can be used for daily tasks and scripting. It offers features like auto suggestions, tab-based compl...

Powerlevel10k

10 minute read

Powerlevel10k is a powerful prompt customization tool for ZSH that offers speed, customization, and a helpful configuration wizard. It elevates the terminal ...

Don't Configure Control Flow

29 minute read

Learn why using YAML for control flow configuration can lead to complex and hard-to-understand code, and why it's better to use existing programming language...

A Practical Guide to the Linux Uniq Command

30 minute read

Learn how to use the `uniq` command in Linux to find unique lines of text and eliminate duplicates. This practical guide covers the basic syntax of the `uniq...

A Practical Guide To Linux Echo Command

26 minute read

Learn how to use the `echo` command in Linux to display text, format output, add and overwrite text in files, display variables, search for files, and more. ...

Validate Your YAML (with CUE)

43 minute read

Learn how to use Cuelang, an extension of YAML, to validate your YAML configurations and prevent runtime errors. Discover how to define types, add constraint...

Using Homebrew on M1 Mac

11 minute read

Learn about the changes in Homebrew installation on M1 Macs and how to migrate your packages from an Intel Mac. Discover the reasons behind the change and th...

Using Bash to Read Files

23 minute read

Learn how to use Bash to read files line by line, use custom delimiters, assign variables, and more. This article provides step-by-step instructions and exam...

Using sed for Find and Replace

27 minute read

Learn how to use the `sed` command in the command line to search and manipulate text. Discover the benefits of using `sed` and explore various commands and t...

Using Loops In Bash

36 minute read

Learn how to use loops in Bash to control the flow of your programs. This article covers the different types of loops in Bash, including `while`, `until`, an...

Using Conditionals in Bash

33 minute read

Learn how to use conditionals in Bash to improve your scripting skills and automate tasks. This comprehensive guide covers everything from test commands and ...

Using AWK with CSV Files

9 minute read

Learn how to use AWK with CSV files and overcome its poor CSV support. Discover a simple solution using the `csvquote` tool to handle CSV files in AWK, makin...

Understanding Bash Variables

26 minute read

Learn the basics of bash variables and how they work in the UNIX shell. Discover how to define and access local shell variables, work with arrays, handle com...

Bash String Manipulation

32 minute read

Learn how to manipulate strings in bash with this informative tutorial. From concatenating strings to replacing parts of a string, you'll discover useful tec...

Understanding AWK

75 minute read

Learn the basics of Awk, a powerful text processing tool, in this informative article. Discover how to use Awk to manipulate and analyze data, calculate aver...

An Introduction to JQ

61 minute read

In this beginner-friendly article, the author introduces `jq`, a command-line JSON processor. The article covers the basics of `jq`, including selecting elem...

Understanding Bash

19 minute read

Learn the ins and outs of bash scripting and how it can make your life easier. From understanding shebangs to error handling and variable naming, this articl...