You are viewing a single comment's thread from:

RE: Hack like a pro: shell `pipe`

in #linux7 years ago (edited)

Very cool. I'm always using grep to search recursively: grep -r 'something' somedirectory so thanks for the reminder you can use it on a single file.

I also like to use it to filter results of find:

ls -l | grep '2017'

Would be files from this year in the current directory.

Following you.

Sort:  

Thanks @mikeill, I'll eventually get to more difficult scenarios, my first target here are less fluent linux/unix users, I'd like to make them love the CLI ;) but comments from more educated users are really welcome too! Following you back

Sweet. See you around.