Linux Commands Helper
💬 Your AI-powered Linux assistant
showkey Command - Examine Keycodes
The showkey command is used to examine the keycodes sent by the keyboard to the Linux kernel. It is useful for debugging keyboard issues and customizing keymaps.
Syntax
showkey [options]
Examples
sudo showkey
Show keycodes for keys pressed on the console.
Notes
- Only works on virtual consoles, not in graphical terminals.
- Requires root privileges.
- Useful for creating or debugging custom keymaps.