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 you get the value of pi till a 100 decimal places?
Why are shell scripts used?
i have 2 tables 4 colums table 1 respective values a1 6, a2 8,a3 9,a4 14 & table 2 respective values a1 6, a2 8, a3 9, a4 12. if compare 2 tables 3 colums values same then 4th column values 1)Qes diff >5 then (5 * diff value ) 2)Qes diff <5 the 5 3)Qes diff 5 then 5 print respective values..
Create a bash shell script that reads in a number from the user. If the number is 1, print out the date. If the number is 2, list the files in the current directory. If the number is 3, print out who is currently logged onto the system. If the number is anything else, print out an error message and exit. Name this script "various.sh"
What are the additional egrep symbols?
How would you print just the 25th line in a file using smallest shell script?
What is a batch file used for?
What is shell prompt?
Hello all, This is my assignment on shell scripting, can anyone help me regarding this ? Create a shell script which connects to the database In second shell script include the first script for the DB connection Create a table (PRADEEP_DATA) with 2 columns (name, value) In Third shell script include the first script for the DB connection And insert/delete the values from the Table, by accepting input from the user This functionality should be a menu driven Program: 1) Insert to the database a. Name b. value 2)Delete from the database a.Name b.value Exception handling needs to be taken care.
What is a shell in operating system?
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
How u convert string "hi pravin how are you?" to "Hi Pravin How Are You?"