Beebol's 快乐分享

Beebol 一些生活和工作上的分享

【shell】在while Read中ssh提前中断解决办法

summary:  在写while read循环时,只执行到第一行就中断了,这是为什么呢?while read linedossh xxxx done  <file问题原因是由于: ssh需要用到stdin,当ssh推出,"顺便"就把当前stdin中断了.既然stdin中断,自然read也读......

统计

今日PV:None 今日UV:None

文章总数:156 评论总数:None

原创153 转载0 翻译3

分类文章统计

Django(5)

Flask(1)

Python常见错误(3)

Python基础(10)

linux排障(4)

Consul(3)

Linux基础(4)

shell(11)

oracle(10)

MySQL(64)

ProxySQL(7)

SequoiaDB(2)

TiDB(4)

Redis(2)

常用软件(2)

硬件排障(2)

HTML(1)

JavaScript(1)

我们的作品(18)

windows(1)

总结(1)

按年文章统计

2013(43)

2014(19)

2015(25)

2016(6)

2017(30)

2018(7)

2019(17)

2020(4)

2021(4)

2023(1)

老版入口

IT OPer's 快乐分享

亲,扫我吧!
ITOpers
友情链接

飞哥的:imbusy.me/
冰川的:www.mindg.cn
海洋的:hiaero.net
宏斌的:techindeep.com
若水的:nosa.me
段郎的:sixther.me
肥客联邦:fk68.net