Hello coders, In this post, you will learn how to solve the A Personalized Echo HackerRank Solution. This problem is a part of the Linux Shell series.
Write a Bash script which accepts name as input and displays the greeting “Welcome (name)”
There is one line of text, name.
One line: “Welcome (name)” (quotation marks excluded).
The evaluation will be case-sensitive.
Sample Input 0
Sample Output 0
Sample Input 1
Sample Output 1
A Personalized Echo HackerRank Solution
#!/bin/bash read name echo "Welcome $name"
Note: This problem (A Personalized Echo) is generated by HackerRank but the solution is provided by chase2learn. This tutorial is only for Learning and Educational purpose.