Shell Script to Concatenate Two Strings Brief: This example will help you to concatenate two or more strings variable in a bash script. This tutorial helps you with multiple shell script examples of concatenating strings in a shell script. The first example is a general way to concatenate variables of string. You can simply write all the variable one after another:
Output: Welcome TecAdmin! Another Example You can also use += operator to concatenate two strings and store results in the first string.
Output: Welcome TecAdmin! One More…
Read More