cat file.txt # 查看完整文件内容
less file.txt # 分页查看(按 q 退出)
head -n 20 file.txt # 查看前 20 行
tail -n 20 file.txt # 查看后 20 行
tail -f app.log # 实时跟踪日志输出