我如何在paramiko中运行管道命令?我这样做: -
statement = 'grep thing file | grep thing2 | tail -1' last_msg = conn.execute(statement)
我得到的输出grep thing file.
grep thing file
python grep pipe paramiko
grep ×1
paramiko ×1
pipe ×1
python ×1