I am trying to figure out a way to split a big txt file with columns of data into smaller files for uploading purposes. The big file has 4000 lines and I wondering if there is a way to divide it into four parts such as
file 1 (lines 1-1000) file 2 (lines 1001-2000) file 3 (lines 2001-3000) file 4 (lines 3001-4000) I appreciate the help.
splitcommand like this:split -l 1000 file.txt.