sorting - grep|sort and display only the first line -


i trying grep pattern , sort column , display first line using following command:

grep "best score" result.txt | sort -nk 4 | "display first line" 

i don't want save grep neither thesort result file.

grep "best score" result.txt|sort -nk 4|head -1 

Comments

Popular posts from this blog

c# - IMAP GMAIL getting folder list problem -

PHP proxy to get XML: problem with URL arguments -