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
.
Asked
Active
Viewed 837 times
2
1 Answers
-1
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.

Ignacio Vazquez-Abrams
- 776,304
- 153
- 1,341
- 1,358
-
I couldn't make sense of this answer. What is the correct way to 'press the sequence' for these control characters? – conradlee Jun 02 '17 at 10:27
-
@conradlee: Hold down Ctrl, press and release the other key, and then release Ctrl. Repeat until done. – Ignacio Vazquez-Abrams Jun 02 '17 at 14:40