Permalink 1 min read Jun 02, 2010 Copied to Clipboard CommandLine 002 列出目录中所有的扩展名: find /path/to/dir -type f | grep -o '\.[^./]*$' | sort | uniq « Newer: CommandLine 003 Older: CommandLine 001 » Published by Ezra on Jun 02, 2010 in UNIX and tagged #Linux #UNIX .