first
来自「shell是重要的脚本语言和工具 本文件夹中搜集了比较经典的shell入门的代」· 代码 · 共 17 行
TXT
17 行
#!/bin/sh# first.sh# This file looks through all the files in the current# directory for the string POSIX, and then prints those# files to the standard output.for file in *do if grep -q POSIX $file then more $file fidoneexit 0
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?