Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are the different commands available to check the disk usage?

948


Explore about environment variables?

1000


What is shell chemistry?

938


How do I run a powershell script?

1069


How do I run a shell script in powershell?

1082


What is eval in shell script?

1195


How will you emulate wc –l using awk?

1487


What is awk script?

936


How do we delete all blank lines in a file?

1065


How do you find out What is your shell?

1033


What is the use of a shebang line?

1134


What can scripts do?

1065


What is a command line shell?

1014


What does echo mean in scripting?

971


Suppose you execute a command using exec, what will be the status of your current process in the shell?

1032