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 eval in shell script?
how to get part of string variable with echo command only?
c program to display the information of given file similar to givan by the unix or linux command ls -l
What is difference between shell and bash scripting?
What is in a script?
What is the first line in every perl script called?
What is the crontab?
How to get the 3rd element/column from each line from a file?
Is bash an operating system?
What is the difference between break and continue commands?
Determine the output of the following command: [ -z “” ] && echo 0 || echo 1
How will you find the 99th line of a file using only tail and head command?
How will you print the login names of all users on a system?
How to get script name inside a script?
What is the command to find out today's date?