1

[all variants] Need help using grep

view story
linux-howto

http://ubuntuforums.org – I need help greping a log. I want to pull the last line containing the word “project” in my Folding@Home log and output it to my conky. Code: cat FAHlog.txt | grep Project [08:39:28] Project: 8072 (Run 0, Clone 284, Gen 48) [19:31:37] Project: 8072 (Run 0, Clone 284, Gen 48) [01:46:05] Project: 8072 (Run 0, Clone 284, Gen 48) [05:47:48] Project: 8072 (Run 0, Clone 284, Ge [05:47:50] Project: 7660 (Run 253, Clone 0, Gen 18) How do I isolate just the last entry for “project” using grep? (Hardware)