How to take input values from the user?

Answers were Sorted based on User's Feedback



How to take input values from the user?..

Answer / guest

1. using read command
2. reading input from a file

Is This Answer Correct ?    6 Yes 0 No

How to take input values from the user?..

Answer / swaroopa

Use the command read. Suppose you want to take the path of
an argument, then read the variable like

read folder_path

Is This Answer Correct ?    4 Yes 0 No

How to take input values from the user?..

Answer / nikki

by using read command......

Is This Answer Correct ?    2 Yes 0 No

How to take input values from the user?..

Answer / asit

set x = $<

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More Shell Script Interview Questions

How will you list only the empty lines in a file (using grep)?

4 Answers   ANZ,


How do I run a bin bash script?

1 Answers  


write a shell script to check the failed jobs?

1 Answers   Wells Fargo,


how to get part of string variable with echo command only?

1 Answers  


What are the three main forms of enabling debugging in a shell script?

6 Answers   ADC, Wipro,


give me some website where i can get unix and testing meterials

1 Answers  


What is shift command in shell script?

1 Answers  


Is shell script a programming language?

1 Answers  


Is shell a scripting language?

1 Answers  


What can you do with powershell?

1 Answers  


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.?

3 Answers   IBM, Symphony,


Where cron file kept?

2 Answers   Tech Mahindra,


Categories