Shell-script - Concatenate two values in shell scripting, Bash Script to concatenate variables


Concatenate two values in shell scripting

Use the below code to concate two strings.
Example
var='My'
var="${var}love"
echo $var

Output
Mylove

Shell-script - Bash Script to concatenate variables
The topic on Shell-script - Concatenate two values in shell scripting is posted by - Mylove
Hope you have enjoyed, Shell-script - Concatenate two values in shell scripting . Thanks for your time.

All rights reserved. © www.w3calculator.com