fir3net
PPS-Firenetbanner-780.5x190-30-03-17

UNIX - How do I grep for a TAB space ?

In order to grep for a TAB you would need to you use the following syntax,

[root@Linux~]# grep $'\t' file.txt

Tags: UNIX

About the Author

RDonato

R Donato

Ricky Donato is the Founder and Chief Editor of Fir3net.com. He currently works as a Principal Network Security Engineer and has a keen interest in automation and the cloud.

You can find Ricky on Twitter @f3lix001