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

What is an inode block?

0 Answers  


how to print the matrix form of 2-d, 3-d arrays in unix c shell scripts ?

0 Answers  


What is the command for " how many shell is running in your system or how many shell supported by your system " ?.

3 Answers  


write a shell program to check wheather a given string is pallindrome or not?

4 Answers  


How to add some content in any file at some desired location without using VI or some other editor in UNIX

2 Answers  


What are the different types of variables used in shell script?

0 Answers  


If one dont know how to create a script then how he/she can use the QTP?

1 Answers  


why did you apply to shell

3 Answers   Shell,


What does the sh command do?

0 Answers  


What is path variable bash?

0 Answers  


How does shell scripting work?

0 Answers  


What is a file basename?

0 Answers  


Categories