How to take input values from the user?
Answers were Sorted based on User's Feedback
Answer / guest
1. using read command
2. reading input from a file
| Is This Answer Correct ? | 6 Yes | 0 No |
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 |
Explore about environment variables?
What is the fastest scripting language?
Hi, i want to zip the files that generates automatically every few minutes (files generated are in .arc extension)....any body write a script for this... thanks in advance
What does debug script mean?
I have 2 files and I want to print the records which are common to both.
What is batch file programming?
Is shell scripting a language?
What is the need of including script interpreter in your shell script?
How do I read a .sh file?
Explain about "s" permission bit in a file?
How do I stop script errors?
Hi, all Scripting professional. Q. I have written script1.sh and calling script2.sh in script1.sh file using bash shell as interpreter and my log in shell also bash shell.My code like Script1 #!/bin/bash echo "My script2 call" . script2.sh Here script2.sh file run successfully but when I have changed my interpreter bash to ksh like #!/bin/ksh Error are comming script2.sh command not found. Guid me how to call other script in our main script.