I have a script that creates a large number of lines.
After, let's say, 10000 lines, I need it to move the text file to another name automatically. I can't seem to figure it out, but I guess using "While" "wc" and "mv" might make it possible.
I would like to put it in my bash script, so if the text file is at or over 10000 lines, it will move to list1 then when that list reaches 10000, it will move to list2, etc.