Question

I want search one invisible character(control character, such as 0x05) using less command in Linux.
I find the character is displayed as ^E in less. I can not search it by directly using the characters "^E" . Neither ctrl+vctrl+e in VI or just search by /\0x05.

Was it helpful?

Solution

CtrlE means something special at the beginning of the search field regardless of how it is entered. Type another non-"special" character first, then press the sequence, then remove the first character.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top