遠端執行指令


語法 (多個以 ; 隔開)

ssh user@host "nohup command1 > /dev/null 2>&1 &; nohup command2; command3"

or

ssh user@host "$(nohup command1 > /dev/null 2>&1 &) && nohup command2 >> /path/to/log 2>&1 &"

results matching ""

    No results matching ""