find / -name '.htaccess' -exec sh -c 'echo "Allow from ip_addr" >> {}' \;

@темы: Команды Linux/BSD/MacOS