Linux

How would you split a 50 lines file into 2 files of 25 lines each?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

You can use the split command this way: split -l 25 some_file