Reputation: 1055
Im new in Linux command and trying to follow a tutorial to find matching string in csv in this tutorial https://github.com/maxharlow/tutorials/tree/master/find-connections-with-fuzzy-matching.
$ csvmatch \
forbes-billionaires.csv \
forbes-china-billionaires.csv \
--fields1 name \
--fields2 name \
> billionaires-from-china.csv
Im getting this error message:
-bash: billionaires-from-china.csv: Permission denied
What Im doing wrong?
Upvotes: 0
Views: 100
Reputation: 7215
You can rewrite your code on this way to write in directory where everyone have permissions:
csvmatch \
forbes-billionaires.csv \
forbes-china-billionaires.csv \
--fields1 name \
--fields2 name \
> /tmp/billionaires-from-china.csv
Upvotes: 1