Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

Tech Mahindra Shell Script Code Interview Questions
Questions Answers Views Company eMail

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

1535

Post New Tech Mahindra Shell Script Code Interview Questions


Tech Mahindra Shell Script Code Interview Questions


Un-Answered Questions

Explain me what is a built-in function that python uses to iterate over a number sequence?

584


How is the maximum addressable memory calculated?

739


How to call apex class using java script?

340


What is meant by markup language?

556


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?

5






What is an external javascript?

647


Explain Ruby module?

3


Explain the types of selectors in jquery?

609


Explain the difference between asp & asp.net.

718


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?

1334


What is the time distribution option in update rule? : bw on hana

70


Can a hashset contain duplicates java?

677


Special thing in designing a overhead reservoir ? which is different from an ordinary design

968


How do I open registry editor?

615


How can the session in servlet be destroyed?

827