Search: All languages | Full text

Results tagged “grep”

More posts »

Posts

dewitte

dewitte posted ps -aux | grep "dewitte" | more | May 10, 2008

Status: I woke up thinking about this string of old Unix commands today. I think the last time I really used it was on a PDP-11 in 1983. It looks right - might be off slightly, but basically the ps displays all the currently running Unix processes then you pipe (send) it over to the grep command to...

ChrisHood

ChrisHood posted grep a file for multiple terms | Mar 25, 2008

This is a pretty simple thing, but something that I never really thought about looking up. If you want to search a file for multiple terms and see all the lines with line numbers so you can note that, in the past I might do something like this: <shell>: cat -n geo2.pl |grep 143 <shell>: 9 $xml =...