How Do You Search for Tabs in the Linux Command Less?

How do you search for tabs in the linux command less?

I've tried /\t but that only seems to search for the character t.

3 Answers

At the risk of suggesting the obvious:

/Tab

works fine for me.

Press / then CtrlV, followed by Tab.

0

You can search for tabs using /^I (where ^I is Crtl+i).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Sophia Al-Mansoor

Sophia Al-Mansoor

Global Business & E-Commerce Reporter

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.

Share this article
Twitter Facebook Pinterest