grep é uma solução.
Você precisa proteger com um \ do caractere especial ^ na expressão:
grep -n "\^2" My2GbFile.txt > MyOutputLog.txt
Se você não quiser que o número da linha escreva grep sem o -n .
Referências:
- Por exemplo, em Referências Rápidas RegEx você pode ler
[^...] Matches any single character that is not in the class. For example, [^/]* matches zero or more occurrences of any character that is not a forward-slash, such as http://. Similarly, [^0-9xyz] matches any single character that isn't a digit and isn't the letter x, y, or z.