1、scp在两台服务器之间传输文件
scp 文件名 linux@x.x.x.x:~/
linux为另一台服务器登录的主机名;x.x.x.x为另一台服务器ip;~/:放在主目录下。
2、grep -ir "111111" --exclude-dir="node_modules" 搜索指定字符”111111“
i:不区分大小写 r:递归查询 --exclude-dir:排除指定目录。
Linux实用命令
原文:https://www.cnblogs.com/lhsblog/p/12167664.html