Stella981 Stella981
2年前
Linux 三剑客之sed命令总结
sedsed1、关键字取行sedn'/jpinsz/p'test.txtsedn'/^d/p'test.txt2、根据行数取行sedn'2,5p'test.txtroot@JP1tmpsedn'2,5p'