Hacker Newsnew | past | comments | ask | show | jobs | submit | goodevans's commentslogin

Not only that, but if you don't dry it quick enough the whole hob shuts down


I'll always remember a joke I read in an Amstrad user magazine back in the 80s: How many TRS-80 users does it take to change a light bulb? Both of them!


Find all .txt files containing the word 'foo': find ./ -mount -type f -name "*.txt" -exec grep -iHn 'foo' {} \;

(the -mount stops it traversing into mounted shares)


With zsh:

  grep -iHn 'foo' **/*.txt(.)
Though I'm not sure how to prevent zsh from descending in to other filesystems, as you can with find.


It's his Nigerian Prince Scam How-To newsletter, goes missing every week!


*somebody wants to...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: