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 |
How can I set the default rwx permission to all users on every file which is created in the current shell?
What is a file basename?
Is shell scripting easy to learn?
What are the different types of variables used in shell script?
How to customise the other shell?
What is the difference between a 'thread' and a 'process'?
How to print the first array element?
how to separate the even and odd number generated from one file to two separate file i.e. even numbers in file1.txt and odd numbers in file2.txt
What is the use of "shift" command in passing parameters?
What is bash used for?
Create a bash shell script that removes all files whose names end with a "~" from your home directory and subdirectories. Name this script "cleanup.sh"
What is the significance of $#?