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 are the different commands available to check the disk usage?
Explore about environment variables?
What is shell chemistry?
How do I run a powershell script?
How do I run a shell script in powershell?
What is eval in shell script?
How will you emulate wc –l using awk?
What is awk script?
How do we delete all blank lines in a file?
How do you find out What is your shell?
What is the use of a shebang line?
What can scripts do?
What is a command line shell?
What does echo mean in scripting?
Suppose you execute a command using exec, what will be the status of your current process in the shell?