Split file and combine files on command line

Split a large file into smaller files. This example splits the file test.csv into multiple files, each file with 1000 lines.

split -l 1000 text.csv

Combine multiple csv files into one csv file.

cat *.csv > merged.csv

Search within Codexpedia

Custom Search

Search the entire web

Custom Search