i have some csv files in a directory which have sub-directories also. now how can i merge all .csv files in to one with a single header. for example: have some 4 files. 1.csv--------name,age,sal abc,25,4000 2.csv--------name,age,sal vgd,32,3500 3.csv--------name,age,sal hfg,20,5000 4.csv--------name,age,sal asd,15,2000 now my output file should be like 5.csv----------name,age,sal abc,25,4000 vgd,32,3500 hfg,20,5000 asd,15,2000 and please explain the code for me. as i am new to scripting. thank you in advance
1826Post New Tech Mahindra Shell Script Code Interview Questions
Can you list the coffman's conditions that lead to a deadlock?
How do you change the border margins in word 2013?
How are the k-nearest neigh-bors (knn) algorithms different from k-means clustering?
Can you explicitly call a destructor on a local variable?
How to include silver light .xap page into asp.net web application and what is the purpose of using silverlight application?
Explain what certifications do you hold? : insurance health
What is CNN and What are applications of convolution neural network ?
WHAT IS MEANING OF DEAIATION WITH EXAMPLE
What is the difference between sum and count in sql?
What does arrays tostring do?
How do I clear all formatting and cell contents from the cell in my spreadsheet?
What is the use of a date object in javascript?
What is the difference between technical consultant and functional consultant with respect to their roles and responsibilities?
Explain perl. When do you use perl for programming?
How can I utilize AAL2 support?