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

How do I debug a shell script?

552


Is shell scripting useful?

585


How do I run a bin bash script?

563


What does $1 mean in bash?

609


How to check if a directory exists?

545






Explain how you Automate your application using Shell scripting.

1840


How will you print the login names of all users on a system?

564


write a shell script to check the failed jobs?

3948


What is the use of break command?

578


Why is shell scripting important?

563


write a shell script to generate a alert ? like when ur birthday came then generate a alert ur birthday is today like that ?

3583


madhar chod unix ke 10 commands dhang se likh nahi sakta hai

2966


What is awk script?

537


How to find duplicate record in file using shell script?

842


How to get the last line from a file using just the terminal?

662