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

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -