安装apt install -y ansible #for ubuntu
yum install -y ansible #for centos使用修改hosts:vi /etc/ansible/hostsrawansible all -m raw -a "..."
ansible web -m raw -a "...&q...
Linux学习笔记1. 常用命令pwd 打印当前工作目录-P:打印当前的物理路径,不带有任何的符号链接
cd 切换目录cd ~ or cd 宿主目录(默认的 DIR 目录是 shell 变量 HOME的值。)
cd - 上次的目录(理解为返回)
cd .. 上级目录
ls [选项]... [文件]... 列出文件或目录下文件及信息(默认为当前目录)
ls -l 显示详细信息
ls -a ...