Update cheatsheets

This commit is contained in:
ivuorinen
2025-06-01 00:24:58 +00:00
parent 17ca2e244e
commit 856ab03c8f
5 changed files with 81 additions and 0 deletions

17
tldr/linux/intercept Normal file
View File

@@ -0,0 +1,17 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`