I want to run multiple command like command1, command2 , command3 in single line how to do?
i tried following
pssh -Pi --user XXXX -h host.txt -x "-oStrictHostKeyChecking=no" ls date
i am getting following error
Stderr: ls: cannot access date: No such file or directory
在尝试了几种组合之后,以下方法对我有用
pssh -Pi --user XXXX -h host.txt -x "-oStrictHostKeyChecking=no" ls;date;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.