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 / santana20142003
$read line ---> it will read
$ echo $line ---> it will display
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is a shell? · Types of shell · what is shell scripting?
What is k shell?
What are types of shells?
How will you print the login names of all users on a system?
What is the lifespan of a variable inside a shell script?
What is console line?
How can the contents of a file inside jar be read without extracting in a shell script?
Which is better perl or shell scripting?
What is difference between shell and bash scripting?
What's the difference between scripting and coding?
How to set an array in linux?
What is a shell in operating system?
What is scripting used for?
What will happen to my current process when I execute a command using exec?
Why should we use shell scripts?