_ As the delimiter to display a character string where the first column

 

 

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

Guess you like

Origin www.cnblogs.com/bio-mary/p/12016561.html