Prints audio file header information: format, sample rate, channels, duration, and bit depth. It is the audio equivalent of ImageMagick's identify. soxi -d prints just the duration for scripts.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.