
Command Substitution – Parentheses vs Backticks
Bash command substitution comes in two flavors - parentheses and backticks. Here's the difference between them.
Bhagwad Park writes for the NameHero blog.

Bash command substitution comes in two flavors - parentheses and backticks. Here's the difference between them.

Heredoc and Here-string are both ways to input strings into commands that read from stdin. Here's the difference between them.

Linux offers various methods for referencing files and directories through other files and directories, without creating copies of the original. If you have color coding...

Cron job logs keep track of which cron jobs run, and their details. This helps with troubleshooting and performance management.

Both df and du are Linux commands for estimating disk usage, but they differ in their focus. Df stands for “disk free”, and du stands for disk usage. The first shows the...

Git bisect is a useful tool that git provides, allowing you to narrow down the commit that introduced a bug in your project.

As a project progresses, commits can get messy. The git rebase interactive feature allows you to keep a clean commit history.

While writing scripts in bash, it's important to be careful about error handling. That's what set -e -o pipefail does.

If you've just started scripting in bash, then you need to know how to use arrays in bash. This tutorial will show you how.
If you want to encapsulate some logic in a bash script, you must use bash getopts to process the script arguments
Get new NameHero guides and first word on sales like the Pre-Black Friday event, straight to your inbox.