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
1535Post New Tech Mahindra Shell Script Code Interview Questions
Explain me what is a built-in function that python uses to iterate over a number sequence?
How is the maximum addressable memory calculated?
How to call apex class using java script?
What is meant by markup language?
What are the archenteron and the blastopore? What is the stage of the embryonic development in which these structures are formed? What are the destinations of the archenteron and of the blastopore?
What is an external javascript?
Explain Ruby module?
Explain the types of selectors in jquery?
Explain the difference between asp & asp.net.
I have a process chain is running the infopackage get error don't process the error of that info package and then you can run the dependent variants is it possible?
What is the time distribution option in update rule? : bw on hana
Can a hashset contain duplicates java?
Special thing in designing a overhead reservoir ? which is different from an ordinary design
How do I open registry editor?
How can the session in servlet be destroyed?