This will display only lines 40-50 in a file called lines.txt.
$ cat lines.txt | head -n 50 | tail -n 10 |
For lines 90-100.
$ cat lines.txt | head -n 100 | tail -n 10 |
and so on.
cloud engineer
This will display only lines 40-50 in a file called lines.txt.
$ cat lines.txt | head -n 50 | tail -n 10 |
$ cat lines.txt | head -n 50 | tail -n 10
For lines 90-100.
$ cat lines.txt | head -n 100 | tail -n 10 |
$ cat lines.txt | head -n 100 | tail -n 10
and so on.
Linux has tail command. What about Windows? You can use Powershell to tail a file.
Get-Content myLog.log –Wait |
Get-Content myLog.log –Wait