1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-06 09:55:23 +02:00
tldr/pages/linux/intercept.md
Santosh Shrestha a2422ac85e
mux, udevmon, intercept, uinput: add page (#16667)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2025-05-31 14:56:52 +00:00

552 B

intercept

Read raw input events from a specified input event device and redirect it to stdout. More information: https://gitlab.com/interception/linux/tools/-/tree/master?ref_type=heads#intercept.

  • Read and output raw input events from a given input device file (the system will not see any key presses):

sudo intercept -g {{/dev/input/eventX}}

  • Read and output raw input events from a given input device file (the system can see key presses and does not block other programs from reading them):

sudo intercept {{/dev/input/eventX}}