bash
78 bookmarks · page 1 of 2
2026-11-04 · linuxize.com

How to use the jq command to read, filter, and transform JSON on the command line, from selecting fields to building new objects and parsing API responses.
plays the same role for JSON that sed and awk play for plain text.
Filtering with select
2026-10-28 · linuxize.com
Bash parameter expansion syntax for default values, substrings, prefix and suffix removal, search and replace, case conversion, and arrays.
2026-10-07 · linuxize.com

Extend a Linux partition and grow ext4, XFS, Btrfs, or LVM storage after a disk resize, with layout checks, safe ext4 shrink steps, and troubleshooting.
2026-07-09 · linuxize.com

Bash parameter expansion handles default values, substrings, string length, pattern trimming, search and replace, and case conversion, all inside the shell.
2026-06-30 · linuxize.com

The Linux /dev/null device discards anything written to it and returns EOF when read. This guide shows how to silence stdout, stderr, cron output, and empty files.
2026-06-26 · linuxize.com

Check whether a command exists in Bash with command -v, capture its path, validate several dependencies, and compare type, hash, and which.
2026-06-17 · linuxize.com

Bash subshells run commands in an isolated shell environment. This guide explains parentheses, variable scope, directory changes, command substitution, pipelines, and exit codes.
2026-06-11 · linuxize.com

Linux pipes connect command output to another command's input. Learn the | operator, pipefail, stderr piping, xargs, named pipes, and process substitution.
2026-06-09 · linuxize.com

Practical Bash array operations for checking length, finding values, slicing, reversing, iterating, appending, prepending, and removing elements.
2026-05-31 · linuxize.com

This guide explains how to pass arguments to Bash scripts, read positional parameters, loop over $@, set defaults, validate input, and parse flags with getopts.
2026-05-22 · linuxize.com

How to do arithmetic in Bash with the (( )) operator, $(( )) expansion, the let builtin, and bc or awk for floating-point math the shell cannot do natively.
2026-05-18 · linuxize.com

Bash string manipulation using parameter expansion: extract substrings, replace text, strip prefixes and suffixes, change case, and check for substrings with practical examples.
2026-05-13 · linuxize.com

Practical Bash best practices for writing safer and more predictable scripts, covering strict mode, quoting, error handling, and everyday patterns.
2026-05-07 · linuxize.com
Quick reference for fdisk commands: list disks, create partition tables, add partitions, change partition types, write changes, and quit safely
2026-04-21 · linuxize.com

A practical guide to Bash strict mode: how set -e, set -u, set -o pipefail, and IFS change script behavior, why they catch silent failures, and when to turn them off.
2026-03-23 · johndcook.com

The comm utility lets you find which lines are unique to one file or another, and which lines are common to both.
2026-02-11 · linuxize.com

This guide explains how to parse command-line options in Bash with getopts, including option strings, OPTARG and OPTIND, error handling, and practical script examples.
2026-02-04 · linuxize.com

Positional parameters are Bash variables that hold arguments passed to a script or function. Learn how to use $1, $2, $@, $#, and the shift command in Bash.
2026-01-26 · simonwillison.net

One of my favourite features of ChatGPT is its ability to write and execute code in a container. This feature launched as ChatGPT Code Interpreter nearly three years ago, was …
2025-07-26 · holdtherobot.com

I have long since come to appreciate the value of writing scripts
2025-03-10 · kdnuggets.com

In this tutorial, we’ll cover 10 essential Bash shell commands every data scientist should know—commands that save time, simplify tasks, and keep you focused on insights rather than busywork.
2025-02-05 · statology.org

Here are 10 powerful one-liners that can help you quickly accomplish essential data tasks.
2024-10-19 · r-bloggers.com

Introduction For beginners venturing into the world of Linux, understanding shell expansion is a crucial step towards mastering the command line. Shell expansion is a powerful feature that allows users to generate complex commands and manipulat...
2024-06-24 · lucasoshiro.github.io

It’s more than rails!
2024-06-20 · omid.dev

Bash scripting, a cornerstone of Unix and Linux system administration, offers powerful tools to automate repetitive tasks, streamline workflows, and handle complex operations. For those already comfortable with basic scripting, diving into advanced techniques can unlock new…
2024-05-21 · medium.com

$BASH_REMATCH is a special array variable in the Bash shell that stores the results of matching a regular expression using the =~ operator…
2024-03-06 · wizardzines.com

2023-10-08 · jvns.ca
2023-08-11 · github.com

📖 A collection of pure bash alternatives to external processes. - dylanaraps/pure-bash-bible
2023-08-06 · dev.to

As a developer, you most likely spend a significant amount of time working with the command-line...
2023-08-05 · cyberciti.biz

Explains three methods to get and extract filename extension in Bash for Linux and Unix shell scripting needs.
2023-07-23 · linuxhandbook.com

In Linux, there are shell built-in commands which you are already using but never paid attention to. Learn more about them in this tutorial.
2023-07-22 · linuxhandbook.com

While for maybe the most popular bash loop, wait until you discover until. Pun intended :)
2023-06-28 · linuxhandbook.com

Here are a couple of ways for reading file line by line in the Bash shell.
2023-06-22 · redsymbol.net
2023-05-30 · linuxhandbook.com

In this quick Bash tip, you'll learn about appending to an existing array in bash.
2023-05-28 · linuxhandbook.com

The exec command in shell scripts is super useful for logging, reading from files and running commands by replacing the current process.
2023-04-05 · linuxhandbook.com

The bash shell has some special variables that have specific usages and purposes. Learn more about them here.
2023-02-23 · ebook.bobby.sh
This is an open-source introduction to Bash scripting ebook that will help you learn the basics of Bash scripting and start writing awesome Bash scripts that will help you automate your daily SysOps, DevOps, and Dev tasks...
2023-02-17 · kdnuggets.com

In this article, we are going to take a look at five different data science-related scripting-friendly tasks, where we should see how flexible and useful Bash can be.
2022-11-10 · linuxhandbook.com

Brace expansion in the bash shell is a lesser known but an awesome feature. Learn about using them like a Pro Linux user with practical examples.
2022-10-29 · sharats.me
This article is about a few quick thumb rules I use when writing shell scripts that I’ve come to appreciate over the years. Very opinionated....
2022-08-01 · dev.to

Have you ever wondered how a Web server works under the hood? Moreover, would you be willing to...
2022-05-04 · github.com
A collection of handy Bash One-Liners and terminal tricks for data processing and Linux system maintenance. - onceupon/Bash-Oneliner
2022-01-29 · linuxhandbook.com

Learn how to find PID using a process name in Linux. Also learn to get the parent process ID (PPID) of the given process.
2021-12-12 · tldp.org
2021-12-11 · guide.bash.academy
A complete guide for newcomers and advanced users to correct usage and deepen understanding of the bash shell language.
2021-12-11 · github.com

📖 A collection of pure bash alternatives to external processes. - dylanaraps/pure-bash-bible
2021-12-11 · jvns.ca
2021-12-02 · devhints.io

Variables · Functions · Interpolation · Brace expansions · Loops · Conditional execution · Command substitution · One-page guide to Bash scripting