File Operations
List files
bash
ls -la PATH
Search for files
bash
find PATH -name "PATTERN" -type f
Search content
bash
grep -rn "PATTERN" PATH
File info
bash
wc -l FILE && file FILE
文件系统操作——列出、搜索、读取并分析文件。
--- frontmattername: file-ops description: File system operations - list, search, read, and analyze files.
ls -la PATH
find PATH -name "PATTERN" -type f
grep -rn "PATTERN" PATH
wc -l FILE && file FILE