Linux uses awk command to obtain a row or a column
Others
2020-03-04 20:45:37
views: null
1. Get the first line
awk 'NR==1'
2. Get the first column
awk '{print $1}'
Published 139 original articles
·
won praise 13
·
views 9284
Origin blog.csdn.net/qq_18671415/article/details/104446887