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.
[code language=”text”]
split -l 1000 text.csv
[/code]

Combine multiple csv files into one csv file.
[code language=”text”]
cat *.csv > merged.csv
[/code]

Search within Codexpedia

Custom Search

Search the entire web

Custom Search