显示指定行内容

显示指定行内容:

显示21行到40行内容:

cat aa.txt | sed -n '21,40p'

猜你喜欢

转载自blog.51cto.com/yangzhiming/2296485