create account

RE: Hack like a pro: shell `pipe` by mikeill

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @imil/hack-like-a-pro-shell-pipe

· @mikeill · (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.
👍  
properties (23)
authormikeill
permlinkre-imil-hack-like-a-pro-shell-pipe-20170629t151116622z
categorylinux
json_metadata{"tags":["linux"],"app":"steemit/0.1"}
created2017-06-29 15:11:15
last_update2017-06-29 15:12:39
depth1
children2
last_payout2017-07-06 15:11:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length297
author_reputation411,190,612,143
root_title"Hack like a pro: shell `pipe`"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id6,635,264
net_rshares1,143,286,972
author_curate_reward""
vote details (1)
@imil · (edited)
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
👍  
properties (23)
authorimil
permlinkre-mikeill-re-imil-hack-like-a-pro-shell-pipe-20170629t151529805z
categorylinux
json_metadata{"tags":["linux"],"users":["mikeill"],"app":"steemit/0.1"}
created2017-06-29 15:15:30
last_update2017-06-29 15:16:54
depth2
children1
last_payout2017-07-06 15:15:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length239
author_reputation1,720,929,270
root_title"Hack like a pro: shell `pipe`"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id6,635,865
net_rshares1,258,810,467
author_curate_reward""
vote details (1)
@mikeill ·
Sweet. See you around.
properties (22)
authormikeill
permlinkre-imil-re-mikeill-re-imil-hack-like-a-pro-shell-pipe-20170630t121816540z
categorylinux
json_metadata{"tags":["linux"],"app":"steemit/0.1"}
created2017-06-30 12:18:15
last_update2017-06-30 12:18:15
depth3
children0
last_payout2017-07-07 12:18:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length22
author_reputation411,190,612,143
root_title"Hack like a pro: shell `pipe`"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id6,753,403
net_rshares0