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.
Here’s how to check what’s changed in your local Git repo vs the master repo.
Git Status tells you what file has changed, but not to the level of detail such as what lines or what code was changed.
git diff HEAD |
git diff HEAD