Home > How To's, Linux > How to insert a tab character into Putty for Linux

How to insert a tab character into Putty for Linux

October 20th, 2011 Leave a comment Go to comments

If you’re like me, you’ve noticed that if you’re trying to grep for a tab character, the following won’t work:

grep "\t" file.txt

The solution is to use a literal tab character, but it’s not quite so simple. You can’t insert a tab character just by hitting the tab button or by pasting one in. You need to hit Ctrl+V first:

So to type a tab in the putty console:

  • Ctrl+V
  • [TAB] character

Categories: How To's, Linux Tags:
  1. No comments yet.
  1. No trackbacks yet.