L
Lukasz
Guest
Hi,
I have a problem with a chmod command.
I want to find a file in my home directory that contains "o" as second character with find command and then change its permission for 222.
I've tried using:
How can I forward file name from find to chmod?
Lukasz
I have a problem with a chmod command.
I want to find a file in my home directory that contains "o" as second character with find command and then change its permission for 222.
I've tried using:
But I've received error that chmod didn't get file name.find /home/lukasz -type f -name "?o*"|chmod 222
How can I forward file name from find to chmod?
Lukasz