| @@ -0,0 +1,9 @@ | |||
| 1 | + | # tail | |
| 2 | + | ||
| 3 | + | * remove the first line of a file: | |
| 4 | + | ||
| 5 | + | `tail -n +2 file.txt` | |
| 6 | + | ||
| 7 | + | * tail a file through rotations: | |
| 8 | + | ||
| 9 | + | `tail -F file.name` | |
simon revised this gist 1 month ago · 5125415
1 file changed, 9 insertions
1 file changed, 9 insertions
| @@ -0,0 +1,9 @@ | |||
| 1 | + | # tail | |
| 2 | + | ||
| 3 | + | * remove the first line of a file: | |
| 4 | + | ||
| 5 | + | `tail -n +2 file.txt` | |
| 6 | + | ||
| 7 | + | * tail a file through rotations: | |
| 8 | + | ||
| 9 | + | `tail -F file.name` | |