一、Shell 基础概念 1. 什么是 Shell Shell 是命令行解释器,负责翻译用户命令 → 内核执行 → 返回结果。 Shell 脚本:批量编写多条命令,实现自动化运维。 常见解释器:bas