Interview Questions

You have a file called phonenos that is almost 4,000 lines long. What text filter can you use to split it into four pieces each 1,000 lines long?

Operating System Interview Questions and Answers


(Continued from previous question...)

You have a file called phonenos that is almost 4,000 lines long. What text filter can you use to split it into four pieces each 1,000 lines long?

split

The split text filter will divide files into equally sized pieces. The default length of each piece is 1,000 lines.

(Continued on next question...)

Other Interview Questions