linux如何使用管道取出命令输出第一行后的所有行
1、kubectl get pod -n bigdata | awk ‘{if(NR!=1) print}’2、kubectl get pod -n bigdata | sed -n ‘2,$p’3、kubectl get pod -n bigdata | tail -n +2
·
1、kubectl get pod -n bigdata | awk ‘{if(NR!=1) print}’
2、kubectl get pod -n bigdata | sed -n ‘2,$p’
3、kubectl get pod -n bigdata | tail -n +2
更多推荐
已为社区贡献4条内容
所有评论(0)