以_为分隔符显示第一个字符串所在列

cat 文件 |cut -d '_' -f 1

猜你喜欢

转载自www.cnblogs.com/bio-mary/p/12016561.html