How to Use Grep as a Filter Byte Offset
- 1). Open your Unix terminal command line by clicking the desktop icon or opening it from the system menu.
- 2). Type "grep -b "filter string" /path/*" (without quotes). Replace "filter string" with the term for which you want to filter. The "-b" tag will print the byte-offset for each file. Replace "/path/*" with the path on your computer for the search location. The asterisk means that all files in that directory will be searched.
- 3). Press "Enter" to use the grep filter with byte-offset.
Source...