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 sh in shell script?

0 Answers  


What is the use of a shebang line?

0 Answers  


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

4 Answers  


How will you pass and access arguments to a script in linux?

0 Answers  


Is it possible to substitute "ls" command in the place of "echo" command?

0 Answers  






What is the purpose of scripting?

0 Answers  


What is batch file programming?

0 Answers  


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

0 Answers  


What does chmod do?

0 Answers  


How to find all the files modified in less than 3 days and save the record in a text file?

0 Answers  


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

1 Answers  


Determine the output of the following command: [ -z “” ] && echo 0 || echo 1

0 Answers  


Categories