HackerRank Let's Echo problem solution

In this HackerRank Let's Echo problem solution This is the equivalent of common output commands in most programming language (print or puts statements).

For Example:

echo "Greetings"

This outputs just one word "Greetings" (without the quotation marks).

echo "Greetings $USER, your current working directory is $PWD"

This picks up the values of the environment variables $USER and $PWD and displays something like:

Greetings prashantb1984, your current working directory is /home/prashantb1984

Write a bash script that prints the string "HELLO".

hackerrank let's echo problem solution


Problem solution.


echo "HELLO"


Second solution.

echo HELLO


Post a Comment

0 Comments