摘要: def run(): str_shell='ipconfig' sub=subprocess.Popen(args=str_shell,shell=True,stdin=subprocess.PIPE,stdout=subprocess.PIPE, stderr=subprocess.PIPE,universal_newline... 阅读全文
posted @ 2019-05-18 23:51 不带R的墨菲特 阅读(1174) 评论(0) 推荐(0)
摘要: 检查telnet是否已安装: [root@hostuser src]# rpm -q telnet-serverpackage telnet-server is not installed[root@hostuser src]# telnet 192.168.81.129bash: telnet: 阅读全文
posted @ 2019-05-18 12:49 不带R的墨菲特 阅读(1405) 评论(0) 推荐(0)