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 difference between bash and shell?
What is a program shell?
How do we delete all blank lines in a file?
What is a shell in operating system?
Explain about login shell?
Devise a script that takes file name as arguement(which must present in the current directory)and locates from your home directory tree all thpath names of its links.Then mail the list to self.
What is shell application?
c program which behaves like a shell(command interpreter). it has its own prompt say "NewShell$".any normal shell command is executed from your shell by starting a child process to execute a system program corrosponding to the command
Is shell scripting difficult?
How do I stop script errors?
What are the default permissions of a file when it is created?
How can I send a mail with a compressed file as an attachment?
determine the output of the following command: echo ${new:-variable}
What are different types of shell?
What is the way to do multilevel if-else's in shell scripting?