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
Why should you care about objects and object-oriented testing?
What is ZigBee Protocol for Internet of Things (IoT)?
What is the role of tcp/ip in data transmission from source to destination?
How do I fill a slide with pictures in powerpoint?
How often is the stock market ticker updated? 15sec? 30sec?
What is the formula for calculating in excel?
What is the difference between superclass and subclass?
Explain the Charge Sharing problem while sampling data from a Bus?
Can you go backwards in word search?
You want to link a c++ program to c functions. How would you do it?
What is actually returned from server to the browser when a browser requests an .aspx file and the file is displayed?
How do I free up disk space on ubuntu?
Name some data sources used in qlikview?
Are sockets bidirectional?
How do you create an environment variable?