
showkey | 423
Linux
Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
Options
-b, --binary
Read files in binary mode. The default on DOS or Windows.
-c, --check
Check the SHA1 sum and file information in the file argument
(or standard input) against the corresponding files and verify
that they are consistent. The input must have been generated
by an earlier sha1sum command.
--help
Print usage information and exit.
--status
Don’t generate output messages; the exit code indicates
success or failure. Used only with --check.
--string=string
Compute the SHA1 sum for the specified string. This option
does not take a file argument. Put quotes around the string if it
contains spaces.
-t, --text
Read files in text mode. The default.
--version
Print version information and exit.
-w, --warn
Warn about improperly formatted checksum lines. Used only
with --check.
showkey
showkey [options]
Print keycodes, scancodes, or ASCII codes of keys pressed on the
keyboard. The default is to show keycodes. In keycode and scan-
code 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.
Options
-a, --ascii
Print the ASCII character, decimal, octal, and hexadecimal
values of keys pressed.
-h, --help
Print version number ...