# credit to the StackOverflow user in the source link apt-get install csvkit # use 'sudo', if needed csvstack *.csv > out.csv # assuming all your files ar in the same folder