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
1816Post New Tech Mahindra Shell Script Code Interview Questions
When we run the report j1ifr ( pending 4(5)a challan )this report can we convert in excel sheet.
What is static let in swift?
What is the main purpose of mvc architecture?
What are the differences in the job performed by line maintenance certifying staff and base maintenance certifying staff?
Can we clone singleton object?
What are the two major subsystems of system r?
What are the Key components in rpa?
Is shell scripting useful?
can java object be locked down for exclusive use by a given thread? Or what happens when a thread cannot acquire a lock on an object? : Java thread
Explain public, protected, private in c++?
what type of library model you are using?
How many anonymous blocks can be defined?
How do I format columns in word?
Suppose an array contains @arraycontent=(‘ab’, ‘cd’, ‘ef’, ‘gh’). How to print all the contents of the given array?
Why c is called free form language?