tail -n5000 xyz.log
above shows last 5000 lines right
if i want to see all the 15723 lines of xyz.log what command i have to give
tail -n5000 xyz.log|grep 'ERROR WS'
how to make above case sensitive search like
tail -n5000 xyz.log|grep 'error ws'
how to make above whole word search? so that i wont see below as result ERROR aaa WS etc