介绍
详细解释:https://www.runoob.com/linux/linux-comm-cat.html
全拼:concatenate
作用:
- 连接文件
- 将文件内容打印到控制台上
例子
查看密码
cat /etc/passwd
查看用户配置文件
查看环境变量文件
cat /etc/profile
详细解释:https://www.runoob.com/linux/linux-comm-cat.html
全拼:concatenate
作用:
cat /etc/passwd
查看用户配置文件
cat /etc/profile