implicit paths?
Posted: Thu Oct 10, 2013 2:47 pm
I was talking to someone yesterday about chown/chgrp/chmod and was telling them to change all the files in a directory to your ownership enter
someone else chimed in with the question couldn't you just write
And honestly I don't know. Can you do that? I know at the end of the day I personally dislike going that far with implicit path declarations (I'm looking at you ~/ !) and would much rather use ./* to specifically state "in the folder I am in right now do X", but I'd like to know if the * by itself would work properly.
Code: Select all
sudo chown <your_username> ./*Code: Select all
sudo chown <your_username> *