How do you print the output the same string which is typed
in command line. how do you write the shell script or
command for this. if i entered "Hello" in command line, it
should print 'Hello', if i say "Hello Welcome", i should get
the "Hello Welcome" as output.?

Answer Posted / asit

echo "$*"

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What language is bash?

630


What does debug script mean?

705


What is the equivalent of a file shortcut that we have a window on a linux system?

801


Why do we use shell scripting?

706


How to pass an argument to a script?

758


What is shell variable?

678


What language is shell scripting?

760


How can you find out how long the system has been running?

673


Given a file find the count of lines containing the word "abc".

1224


How do I debug a shell script?

782


State the advantages of shell scripting?

782


What does $0 mean in shell script?

734


What is shell chemistry?

721


Is shell scripting a programming language?

773


How to find all the files modified in less than 3 days and save the record in a text file?

813