Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在单行中运行多个命令,如 command1、command2、command3 怎么办?
我试过以下
pssh -Pi --user XXXX -h host.txt -x "-oStrictHostKeyChecking=no" ls date
我收到以下错误
Stderr: ls: cannot access date: No such file or directory
在尝试了几种组合之后,以下为我工作
pssh -Pi --user XXXX -h host.txt -x "-oStrictHostKeyChecking=no" ls;date;