I want to grep a file to see all the transactions that were done at the 14th hour of the day.
"localhost_access_log.2013-08-20.txt" the file i want to search in
I have huge files and i want to grep only the last line that grep find.
I don't want to use tail since count line is change also from file to file and I don't want grep will search the all file.
for example file contain:
... (1000000 lines)
bla bla bla
la la la
--- (5000000 lines)
No yes no
kuku OPS kuku
I'm on Solaris (SunOS wsp2cm01 5.10 Generic_150400-10 sun4v sparc SUNW,Sun-Fire-T200). Trying to set up an alias like below -
but when I call grep in my command it ignores my alias & uses /usr/bin/grep instead.