I have a text file with 30 lines. I would like to split it up by line where each line will be in a new text file.
I used this command in the command line but didnt get any useful output except the exact same 30 line file but just renamed as "xaa" :
split -l 1 mytextfile.txt
Am i doing something wrong here?
file mytextfile.txtreturn?fileis a utility that shows file type. When you runfile mytextfile.txt,filewill print a line like "mytextfile.txt: ASCII text, with CR line terminators". 1_CR is asking what it shows for your file.split -l 2 mytextfile.txt, would almost have worked.