How will you list only the empty lines in a file (using
grep)?
Answer Posted / guest
grep "^$" filename
| Is This Answer Correct ? | 23 Yes | 3 No |
Post New Answer View All Answers
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..
How does shell scripting work?
Which shell is the best?
How will you print the login names of all users on a system?
How to print all array elements and their respective indexes?
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 does sh mean?
What is the fastest scripting language?
State the advantages of shell scripting?
How will you emulate wc –l using awk?
Rewrite the command to print the sentence and convert the variable to plural: echo “i like $variable”.
how to print the matrix form of 2-d, 3-d arrays in unix c shell scripts ?
How to use arguments in a script?
What can you do with powershell?
How can I send a mail with a compressed file as an attachment?