split command on Ubuntu command-line
- by pedro
I want to split a file into multiple files with at most 25 lines each.
I'm using this:
split -l 25 /etc/adduser.conf > /home/ubuntu/PL/trab3/rc_
But I do not get the files I expect.
How can I get files with filenames like rc_01, rc_02, etc.?