-c, --bytes
Output the last NUM bytes; or use -c +NUM to output starting with byte NUM of each file.
An option of tailx.
Usage
tailx -c [+]NUM [FILE]...
tailx --bytes=[+]NUM [FILE]...Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
-c | --bytes | [+]NUM | output the last NUM bytes; or use -c +NUM to output starting with byte NUM of each file |
Examples
Print the last 100 bytes of a file
tailx -c 100 app.logDrop a 3-byte UTF-8 byte-order mark by starting at byte 4
tailx -c +4 with-bom.txt > clean.txtHelp in the terminal
gnux help tailx --bytes