728x90 AdSpace

Wednesday, 20 September 2017

showkey Linux Command


showkey [options]
Print keycodes, scancodes, or ASCII codes of keys pressed on the keyboard. The default is to show keycodes. In keycode and scancode mode, the program terminates 10 seconds after the last key is pressed. In ASCII mode, press Ctrl-D to exit. This command may not function properly under the X Window System, which also reads from the console device.


-a, --ascii
Print the ASCII character, decimal, octal, and hexadecimal values of keys pressed.

-h, --help
Print version number and help message, then exit.

-k, --keycodes
Print keycodes associated with key-press events. This is the default mode.

-s, --scancodes
Print the keyboard scancodes associated with key-press events.
Annamalai Thangaraj

Annamalai is working as Technical Lead in Leading Telecom company with 5+ years experience in Identity and Access Management , Telecom and Networks, BigData, Java, Spring, Struts, Hibernate, AngularJS, and Enterprise Web Application Development.

Website: Java Tutorials Corner

Shop and help us

Flipkart Offer Snapdeal offer Amazon.in offer Amazon.com offer
  • Blogger Comments
  • Facebook Comments
  • Disqus Comments


Post a Comment

Item Reviewed: showkey Linux Command Rating: 5 Reviewed By: Annamalai Thangaraj