1 – can execute
2 – can write
4 – can read
3 (1+2) – can execute and write
6 (2+4) – can write and read
1 – what owner can
2 – what users in the file group(class) can
3 – what users not in the file group(class) can
chmod 600 file – owner can read and write
chmod 700 file – owner can read, write and execute
chmod 666 file – all can read and write
chmod 777 file – all can read, write and execute
$ upower -i $(upower -e | grep 'BAT') | grep -E "state|to\ full|percentage"sudo -u www-data php occ maintenance:install
replace reemplazar
$ grep -rl 'windows' ./ | xargs sed -i 's/windows/linux/g' # texto en archivos
$ find /home/toto -type d -name 'windows' -exec mv {} linux \; # directorios
$ find /home/toto -type f -exec sed -i 's/texto_viejo/texto_nuevo/g' {} \; # texto en archivos