dumpkeys command in Linux with examples
dumpkeys command in Linux is used for the dump keyboard translation tables. It writes to the standard output and the current contents of the keyboard driver’s translation tables in the format specified by Keymaps.
Syntax:
dumpkeys [Options]
Example:

Options:
- -h(- -help): This option prints the valid options menu with an standard output and exits .
- -i(- -short-info): Prints out the characteristics of the kernel keyboard driver. Information shown are:
- Keycode Range supported by the kernel: Tells the values that can be used after keycode -keyword in keytable files.
- Number of actions bindable to a key: It tells about how many output a single key can output using different modifier keys.
- Ranges of action codes supported by the kernel: It lists the action values ranging hexadecimal notation, which can be used in the right-hand side of a key definition.
- Number of function keys supported by kernel: It shows the number of action codes that can be used in output strings of characters.

- -l(- -long-info): Instructs dumpkeys to print out long information with the list of all action symbols supported by dumpkeys along with symbol’s numeric values.


- -n(- -numeric): By-pass the conversion of action code values to symbolic notation and to print the in hexadecimal format instead.

- -f(- -full-table): Skips all short-hand doubtful output and binds the output in canonical form.

- -t(–funcs-only): Usually dumpkeys prints both the key bindings and the string definitions however, if you specify this option it will print only the function key string definitions.
- -k(–keys-only): Usually dumpkeys prints both the key bindings and the string definitions however, if you specify this option then it will print out keys bindings only.

- -d(–compose-only): It prints out only compose key combinations, only if your kernel supports compose key support.

- -c(–charset): It Interprets character action codes to be from the specified character set.
Recommended Posts:
- which command in Linux with examples
- ar command in Linux with examples
- yes command in Linux with Examples
- man command in Linux with Examples
- ssh command in Linux with Examples
- top command in Linux with Examples
- cvs command in Linux with Examples
- atd command in Linux with examples
- ed command in Linux with examples
- tac command in Linux with Examples
- mv command in Linux with examples
- cmp Command in Linux with examples
- for command in Linux with Examples
- col command in Linux with Examples
- df command in Linux with Examples
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.



