Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Control+T in Terminal shows time snapshot' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Control+T in Terminal shows time snapshot
Authored by: Djehuti on Jan 27, '12 07:57:58AM

This has actually worked for a while (and probably works on Linux and other unices too). ^T is usually bound to the STATUS character via stty(1). See "man 1 stty". It generates SIGINFO, which most processes ignore. Bash catches it and prints what you saw here.

Some other commands, such as dd, also catch SIGINFO and print useful info when you hit ^T. See "man dd" and scroll down near the bottom under "If dd receives a SIGINFO (see the status argument for stty(1)) signal, ..."



[ Reply to This | # ]