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 |
I want to read all input to the command from file1 direct all output to file2 and error to file 3, how can I achieve this?
Write a command sequence to find the count of each word?
how will you find the total disk space used by a specific user?
Rewrite the command to print the sentence and convert the variable to plural: echo “i like $variable”.
What is the syntax of "grep" command?
write a shell script to check the failed jobs?
Why are shell scripts used?
Why are there shells on the beach?
What is console line?
What is the use of a shebang line?
What is shift command in shell script?
What is an sh file?