Tag

command substitution

0 views collected around this technical thread.

DevOps Cloud Academy
DevOps Cloud Academy
Jun 12, 2018 · Fundamentals

Using Numeric Operators and Variable Assignment in Shell Scripts

This article explains how to perform arithmetic with the expr command, assign results to variables, extract information using command substitution, and correctly apply quoting and backticks in Bash to handle spaces, special characters, and nested commands.

ArithmeticVariable Assignmentcommand substitution
0 likes · 4 min read
Using Numeric Operators and Variable Assignment in Shell Scripts