Hacker News .hn
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
c0wb0yc0d3r
on June 17, 2015
|
parent
|
context
|
favorite
| on:
Boffins reveal password-killer 0days for iOS and O...
Can you skip the whole writing to file bit, and pipe straight to egrep?
jdc0589
on June 17, 2015
[–]
sure. but then you wouldn't have a file to go investigate the matched line numbers in.
lindig
on June 17, 2015
|
parent
[–]
security dump-keychain -a | egrep -A 9 -n "applications \(([2-9])\)"
This gives you the relevant lines right away: 9 lines following the match (you might want to use fewer).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: