by petee · 4mo ago · 0 comments
http://catb.org/jargon/html/U/UUOC.html
Admittedly its taken me a long time to remember that the file is the last argument to grep, when so many other commands its the first. I'd guess common abuse is due to being easier to type cat x | than to dig up the man page
`alt + .` is much more versatile. You can use it to cycle through and insert the last arguments of previous commands.
I guess the file is usually the last argument because it's the one that can be omitted.