filetype.sh
来自「su 的源代码库」· Shell 代码 · 共 25 行
SH
25 行
#! /bin/sh# /*********************** self documentation **********************/# FILETYPE - list all files of given type## Usage: filetype string_from_file_output## Examples:# filetype text - list printable files# filetype stripped - list unstripped files# /**************** end self doc ********************************/# Credit: Fiedler and HunterPATH=/bin:/usr/bin:/usr/ucb/bincase $# in 1) # OK ;; *) echo "Usage: filetype string_from_file_output" 1>&2; exit 1 ;;esacfile * | grep $1 | sed 's/:.*$//'
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?