CATEGORY

Shell Scripting

4 practical examples with bash increment variable

How to increment variable in bash shell script? How to add 1 to a variable for every for loop? How to increment counter in bash? How to perform bash variable …

By admin · 5 min read · Shell Scripting

Bash string concatenate possible? [SOLVED]

How to concatenate strings with underscore, newline, whitespace or any other character in bash? How to append substrings in a string in bash or shell script? …

By admin · 6 min read · Shell Scripting

Unlock the Power of Bash Getopts: The Unsung Hero

getopts is a shell builtin which is available in both the regular Bourne shell (sh) and in Bash. It is short abbreviation for "get the options" which you have …

By admin · 20 min read · Shell Scripting