Question : print first word of each line by grep
Answered by : wild-wasp-uttguxoewme3
cut -d' ' -f1 filename
Source : https://stackoverflow.com/questions/19145419/printing-first-word-in-every-line-of-a-txt-file-unix-bash | Last Update : Fri, 19 Nov 21