mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-16 00:48:56 +00:00
Update cheatsheets
This commit is contained in:
17
tldr/linux/intercept
Normal file
17
tldr/linux/intercept
Normal 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}}`
|
||||
Reference in New Issue
Block a user