Search Results

Search: Posts Made By: sg3
3,775
Posted By elixir_sinari
Yes. That command is reading your file...
Yes. That command is reading your file sequentially till the 177998637th line and then printing this and the next line and then quitting the read operation. So you see, to print just those 2 lines,...
3,775
Posted By elixir_sinari
sed -n '100000,200000{;p;200000q;}' file This...
sed -n '100000,200000{;p;200000q;}' file
This will quit after printing 200000th line.
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 07:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy