4

I have some text file (for example json). I can use head order for the reading of the first lines. For example:

head -n 100 file.json

get me 100 first lines back. What is Linux order, which I can use to read some general lines somewhere in file? For example from the line 500 to the line 700.

0

1 Answer 1

4

You can use sed:

sed -n 500,700p file.json
0

Not the answer you're looking for? Browse other questions tagged .