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 are bootlevel in linux?which level is booting by default.

5 Answers   Symphony,


How will you connect to a database server from linux?

0 Answers  


What happens on a system call?

0 Answers  


Write a shell script in Linux to shift all characters in a file forward by five characters. (Thus “a” becomes “f’”).

2 Answers   Ignou, Tripura Info,


madhar chod unix ke 10 commands dhang se likh nahi sakta hai

0 Answers   Cap Gemini,


What is the difference between scripting and coding?

0 Answers  


How do scripts work?

0 Answers  


Give some situations where typing error can destroy a program?

0 Answers  


How to print all the arguments provided to the script?

0 Answers  


Write a command sequence to find all the files modified in less than 2 days and print the record count of each.

0 Answers  


How do I open the shell in cmd?

0 Answers  


In a single command how do you run the previous command in the command prompt.

5 Answers  


Categories