Originally Posted by rhinoict
I have a .out file that has this information:
-rw-r--r-- 1 root system 1763444 Sep 30 18:11 log.td-ict-111
I just want a simple script to list only the last row of informatin (the log. names) How can I do this with awk?
The man page for awk has all the options on it, and Google's got lots of examples, if you looked.
Awk, by default, splits things on white-space. So if you put your string into it, you want to print out field 9, based on your example.