Good day ..
Using VI, I vi a file and while in it type the following command:
:1,2000 w newfilename <enter>
I then exit VI and ls -l. I then wc newfilename and get the following results:
2000 18360 418000 newfilename
What is the 2000 for that I selected above? I need to pick the first 2000 lines, the 2000 listed appears to be words.
What about the 18360 and 418000?
Help is appreciated.
Using VI, I vi a file and while in it type the following command:
:1,2000 w newfilename <enter>
I then exit VI and ls -l. I then wc newfilename and get the following results:
2000 18360 418000 newfilename
What is the 2000 for that I selected above? I need to pick the first 2000 lines, the 2000 listed appears to be words.
What about the 18360 and 418000?
Help is appreciated.