# info > DUMPKEYS

---
type: CommandReference
command: dumpkeys
mode: man
section: 1
source: man-pages
---

## Quick Reference

- `dumpkeys` — dump keyboard translation tables
- `dumpkeys -h` — print help message
- `dumpkeys -i` — print short kernel info (keycode range, action codes, etc.)
- `dumpkeys -l` — print long info including action symbols
- `dumpkeys -n` — print numeric (hex) action codes instead of symbolic
- `dumpkeys -f` — print full canonical key table
- `dumpkeys -t` — print only function key string definitions
- `dumpkeys -k` — print only key bindings

## Name

dumpkeys — dump keyboard translation tables

## Synopsis

dumpkeys [-h|--help] [-i|--short-info] [-l|-s|--long-info] [-n|--numeric] [-f|--full-table] [-1|--separate-lines] [-Sshape|--shape=shape] [-t|--funcs-only] [-k|--keys-only] [-d|--compose-only] [-ccharset|--charset=charset] [-v|--verbose] [-V|--version]
## Options

- `-h, --help` — Print version number and short usage message to stderr, then exit.
- `-i, --short-info` — Print kernel keyboard driver characteristics: keycode range, number of actions per key, action code ranges, number of function keys.
- `-l, -s, --long-info` — Print short-info plus list of action symbols and their numeric values.
- `-n, --numeric` — Output action code values in hexadecimal instead of symbolic notation.
- `-f, --full-table` — Output key bindings in canonical form: first a keymaps line, then for each key a row with columns for each modifier combination.
- `-t, --funcs-only` — Print only function key string definitions.
- `-k, --keys-only` — Print only key bindings.
- `-d, --compose-only` — Print only compose key combinations (requires kernel compose support).
- `-ccharset, --charset=charset` — Interpret character code values according to the given charset (e.g., iso-8859-1 to -9). Default is iso-8859-1. Output includes `charset "iso-8859-X"` line.
- `-v, --verbose` — Increase verbosity.
- `-V, --version` — Print version number and exit.

## Examples

shell
dumpkeys --funcs-only    # Print function key string definitions
dumpkeys -i              # Print kernel keyboard driver info
dumpkeys -f              # Print full canonical key table
## See Also

[loadkeys(1)](http://localhost/phpMan.php/man/loadkeys/1/markdown), [keymaps(5)](http://localhost/phpMan.php/man/keymaps/5/markdown)