5 ms·
If you have an index for the locate command it's probably easier to do: locate "/coa/package.json" | xargs -I {} jq .version {} 2>/dev/null
by resoluteteeth 5y ago
If you have an index for the locate command it's probably easier to do:
locate "/coa/package.json" | xargs -I {} jq .version {} 2>/dev/null
- salzig 5y agomaybe print the command (`-t`) xargs executes, to make identification easier.
- resoluteteeth 5y agoIt's sort of a moot point since if you have an affected version you have to assume your whole system is compromised anyway in the case of this type of issue.